Module digest

Source
Expand description

Hash function abstraction & digest types.

Modules§

siphash
A default Hasher implementation backed by SipHasher24.

Structs§

Digest
A variable bit length digest, output from a Hasher implementation.
PageDigest
Type wrapper over a Digest of a Page, representing the hash of the nodes & subtree rooted at the Page.
RootHash
The root hash of a MerkleSearchTree, representative of the state of the tree.
ValueDigest
Type wrapper over a Digest of a tree value, for readability / clarity / compile-time safety.

Traits§

Hasher
A hash function outputting a fixed-length digest of N bytes.