update README
This commit is contained in:
@@ -7,9 +7,9 @@ import kotlin.time.Duration.Companion.seconds
|
||||
import kotlin.time.Instant
|
||||
|
||||
class TOTP(
|
||||
val function: HashFunction = SHA1,
|
||||
val length: Int = 6,
|
||||
val period: Duration = 30.seconds,
|
||||
function: HashFunction = SHA1,
|
||||
length: Int = 6,
|
||||
private val period: Duration = 30.seconds,
|
||||
) {
|
||||
private val hotp = HOTP(function, length)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user