diff --git a/README.md b/README.md index 43bd150..332cc31 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,9 @@ fun main() { ) // generate and verify OTP - val now = System.now() - val otp = totp.generate(, now) - totp.verify(, now, otp) + val secret = "...".encodeToByteArray() + val time = System.now() + val otp = totp.generate(secret, time) + totp.verify(secret, time, otp) } ```