hash method

Uint8List hash(
  1. Uint8List msg
)

The 32 byte BLAKE3 digest of msg.

Implementation

Uint8List hash(Uint8List msg) => _scoped(
  [msg],
  (p) => _take(
    lib.fn<_BufOfBytesC>('aviary_hash').asFunction<_BufOfBytesD>()(
      p[0],
      msg.length,
    ),
    'hash',
  ),
);