Function instantiateHmacFunction

  • Instantiate a hash-based message authentication code (HMAC) function as specified by RFC 2104.

    Parameters

    • hashFunction: ((input) => Uint8Array)

      a cryptographic hash function that iterates a basic compression function over blocks of data

        • (input): Uint8Array
        • Parameters

          • input: Uint8Array

          Returns Uint8Array

    • blockByteLength: number

      the byte-length of blocks used in hashFunction

    Returns HmacFunction

Generated using TypeDoc