cryptoHash static method
Implementation
static Uint8List cryptoHash(Uint8List i) {
final _out = calloc<Uint8>(cryptoHashBytes);
final _i = i.toPointer();
try {
_cryptoHash.hash(_out, _i, i.length).mustSucceed('crypto_hash');
return _out.toList(cryptoHashBytes);
} finally {
calloc.free(_out);
calloc.free(_i);
}
}