From 733d6337534d1bb78fbdd887fcc32f626fab9f3f Mon Sep 17 00:00:00 2001 From: Infendro Date: Fri, 30 Jan 2026 13:30:56 +0100 Subject: [PATCH] refactor README --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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) } ```