hashWithDigestSize static method
Implementation
static Uint8List hashWithDigestSize(int digestSize, Uint8List message) {
Uint8List bytes = Uint8List(digestSize ~/ 8);
var b = Blake2b(digestSize);
b.update(message, 0, message.length);
return b.digest(bytes, 0);
}