Blake2sMAC constructor

const Blake2sMAC(
  1. int digestSize
)

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

Parameters:

  • digestSize The number of bytes in the output.

See also:

  • Blake2s for generating hash only.

Implementation

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