iya-sts
    Preparing search index...

    Variable hotpCode

    hotpCode: (key: any, counter: any, opts: any) => string = hotpCode

    Type Declaration

      • (key: any, counter: any, opts: any): string
      • Computes an HOTP code (RFC 4226 section 5.3).

        Parameters

        • key: any

          the shared secret, as bytes

        • counter: any

          the counter

        • opts: any

          digits and algorithm

        Returns string

        the code