add opt-in

This commit is contained in:
2025-07-24 21:07:38 +02:00
parent ba1c983094
commit 633263c541
2 changed files with 4 additions and 2 deletions

View File

@@ -4,10 +4,8 @@ import com.infendro.hash.HashFunction
import com.infendro.hash.SHA1
import kotlin.time.Duration
import kotlin.time.Duration.Companion.seconds
import kotlin.time.ExperimentalTime
import kotlin.time.Instant
@ExperimentalTime
class TOTP(
function: HashFunction = SHA1,
length: Int = 6,