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