hash static method

List<int> hash(
  1. List<int> data
)
override

Computes the RIPEMD-160 hash of the provided data.

Implementation

static List<int> hash(List<int> data) {
  final h = RIPEMD160();
  h.update(data);
  final digest = h.digest();
  h.clean();
  return digest;
}