Module hash

Source
Expand description

URI and Schema Hashing

We use FNV1a hashes with a digest size of 64 bits to represent dispatch keys.

Unfortunately. using core::hash::Hash seems to not produce consistent results, which was noted in the docs. To overcome this, we implement a custom method for hashing the postcard Schema.

Modules§

fnv1a64
Const and no-std helper methods and types for perfoming hash calculation
fnv1a64_owned
Heapful helpers and versions of hashing for use on std targets

Structs§

Fnv1a64Hasher
A const compatible Fnv1a64 hasher