1.3.0 release #2

Merged
Infendro merged 7 commits from develop into main 2026-02-16 18:21:00 +00:00
Showing only changes of commit 733d633753 - Show all commits

View File

@@ -32,8 +32,9 @@ fun main() {
) )
// generate and verify OTP // generate and verify OTP
val now = System.now() val secret = "...".encodeToByteArray()
val otp = totp.generate(<secret>, now) val time = System.now()
totp.verify(<secret>, now, otp) val otp = totp.generate(secret, time)
totp.verify(secret, time, otp)
} }
``` ```