hash static method
Computes the Keccak hash of the provided data.
Implementation
static BuBytes hash(List<int> data, [int digestLength = 32]) {
final h = Keccak(digestLength);
h.update(data);
final digest = h.digest();
h.clean();
return digest;
}