hash static method

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

Computes the MD5 hash of the provided data and returns the 128-bit (16-byte) MD5 message digest.

Implementation

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