Hash

Hash :

A value that can hashed.

Hasher :

Describes a hashing algorithm that is fed bytes and produces an integer hash.

The Hasher ability describes general-purpose hashers. It only allows emission of 64-bit unsigned integer hashes. It is not suitable for cryptographically-secure hashing.

hashBool

Adds a single Bool to a hasher.

hashI8

Adds a single I8 to a hasher.

hashI16

Adds a single I16 to a hasher.

hashI32

Adds a single I32 to a hasher.

hashI64

Adds a single I64 to a hasher.

hashI128

Adds a single I128 to a hasher.

hashNat

Adds a single Nat to a hasher.

hashDec

Adds a single Dec to a hasher.