Repository
Current version released
a year ago
Versions
TOTP
Generate totp with deno
see ./test.ts
for an example ! click here
Test
import { TOTP } from "./totp.ts";
const key = await TOTP.importKey("GEZDGNBVGY3TQOJQGEZDGNBVGY3TQOJQ");
console.log(await TOTP.getTOTP(key, 60, 10));
for await (const code of TOTP.generateTOTP(key, 30, 6)) {
console.log(code);
}
problem ?
open an issue here