Verifies an HOTP with constant-time comparison.
Definition
function verifyHOTP(key: Uint8Array, counter: bigint, digits: number, otp: string): boolean;
Parameters
key
: HMAC keycounter
digits
otp
Verifies an HOTP with constant-time comparison.
function verifyHOTP(key: Uint8Array, counter: bigint, digits: number, otp: string): boolean;
key
: HMAC keycounter
digits
otp