Blake2bMAC constructor

const Blake2bMAC(
  1. int digestSize
)

Creates an instance to generate MAC using BLAKE-2b algorithm.

Parameters:

  • digestSize The number of bytes in the output.

See also:

  • Blake2b for generating hash only.

Implementation

const Blake2bMAC(
  this.digestSize,
) : name = 'BLAKE2b-${digestSize << 3}/MAC';