Blake2b constructor

Blake2b(
  1. int digestSize, {
  2. List<int>? salt,
  3. List<int>? aad,
})

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

Parameters:

  • digestSize The number of bytes in the output.
  • salt An optional nonce. Must be exactly 16 bytes long.
  • aad Second optional nonce. Must be exactly 16 bytes long.

See also:

Implementation

factory Blake2b(
  int digestSize, {
  List<int>? salt,
  List<int>? aad,
}) =>
    Blake2b._(digestSize, null, salt, aad);