update README
This commit is contained in:
@@ -8,8 +8,8 @@ import com.infendro.mac.HMAC
|
||||
import kotlin.math.pow
|
||||
|
||||
class HOTP(
|
||||
val function: HashFunction = SHA1,
|
||||
val length: Int = 6,
|
||||
function: HashFunction = SHA1,
|
||||
private val length: Int = 6,
|
||||
) {
|
||||
private val hmac = HMAC(function)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user