# Functions
BitlistRoot returns the mix in length of a bitwise Merkleized bitfield.
BitwiseMerkleize - given ordered BYTES_PER_CHUNK-byte chunks, if necessary utilize zero chunks so that the number of chunks is a power of two, Merkleize the chunks, and return the root.
BitwiseMerkleizeArrays is used when a set of 32-byte root chunks are provided.
CheckpointRoot computes the HashTreeRoot Merkleization of a InitWithReset struct value according to the Ethereum Simple Serialize specification.
ConstructProof builds a merkle-branch of the given depth, at the given index (at that depth), for a list of leafs of a balanced binary tree.
Depth retrieves the appropriate depth for the provided trie size.
ForkRoot computes the HashTreeRoot Merkleization of a Fork struct value according to the Ethereum Simple Serialize specification.
HistoricalRootsRoot computes the HashTreeRoot Merkleization of a list of [32]byte historical block roots according to the Ethereum Simple Serialize specification.
Merkleize with log(N) space allocation.
MixInLength appends hash length to root.
NewHasherFunc is the constructor for the object that fulfills the Hasher interface.
Pack a given byte array's final chunk with zeroes if needed.
SlashingsRoot computes the HashTreeRoot Merkleization of a list of uint64 slashing values according to the Ethereum Simple Serialize specification.
Uint64Root computes the HashTreeRoot Merkleization of a simple uint64 value according to the Ethereum Simple Serialize specification.
# Structs
HasherFunc defines a structure to hold a hash function and can be used for multiple rounds of hashing.
# Interfaces
Hasher describes an interface through which we can perform hash operations on byte arrays,indices,etc.
# Type aliases
HashFn is the generic hash function signature.