update README

This commit is contained in:
2025-12-13 23:27:49 +01:00
parent e5bb1f5a44
commit 52f0ab0661
4 changed files with 30 additions and 26 deletions

View File

@@ -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)