Type alias HashFunction

HashFunction: {
    final: ((rawState) => Uint8Array);
    hash: ((input) => Uint8Array);
    init: (() => Uint8Array);
    update: ((rawState, input) => Uint8Array);
}

Type declaration

  • final: ((rawState) => Uint8Array)
      • (rawState): Uint8Array
      • Parameters

        • rawState: Uint8Array

        Returns Uint8Array

  • hash: ((input) => Uint8Array)
      • (input): Uint8Array
      • Parameters

        • input: Uint8Array

        Returns Uint8Array

  • init: (() => Uint8Array)
      • (): Uint8Array
      • Returns Uint8Array

  • update: ((rawState, input) => Uint8Array)
      • (rawState, input): Uint8Array
      • Parameters

        • rawState: Uint8Array
        • input: Uint8Array

        Returns Uint8Array

Generated using TypeDoc