hashedKeyFor method

Uint8List hashedKeyFor(
  1. K key
)

Implementation

Uint8List hashedKeyFor(K key) {
  final Uint8List hash = Uint8List(32 + hasher.size(key));
  _hashPrefixTo(output: hash);
  hasher.hashTo(
      key: key, output: hash.buffer.asUint8List(hash.offsetInBytes + 32));
  return hash;
}