Generates a new HOTP with SHA-1.

Definition

function generateHOTP(key: Uint8Array, counter: bigint, digits: number): string;

Parameters

  • key: HMAC key
  • counter
  • digits