hashedKey method

Uint8List hashedKey()

Implementation

Uint8List hashedKey() {
  final Uint8List hash = Uint8List(32);
  Hasher.twoxx128.hashTo(
      data: Uint8List.fromList(utf8.encode(prefix)),
      output: hash.buffer.asUint8List(hash.offsetInBytes, 16));
  Hasher.twoxx128.hashTo(
      data: Uint8List.fromList(utf8.encode(storage)),
      output: hash.buffer.asUint8List(hash.offsetInBytes + 16, 16));
  return hash;
}