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