Generates a new TOTP with SHA-1.
Definition
function generateTOTP(key: Uint8Array, intervalInSeconds: number, digits: number): string;
Parameters
key
: HMAC keyintervalInSeconds
digits
Generates a new TOTP with SHA-1.
function generateTOTP(key: Uint8Array, intervalInSeconds: number, digits: number): string;
key
: HMAC keyintervalInSeconds
digits