Blake2s constructor
Creates an instance to generate hash using BLAKE-2s algorithm.
Parameters:
digestSize
The number of bytes in the output.salt
An optional nonce. Must be exactly 8 bytes long.aad
Second optional nonce. Must be exactly 8 bytes long.
See also:
- mac or Blake2sMAC for generating MAC with this algorithm.
Implementation
factory Blake2s(
int digestSize, {
List<int>? salt,
List<int>? aad,
}) =>
Blake2s._(digestSize, null, salt, aad);