Crate triehash

Available on crate features trie and test-utils only.
Expand description

Generetes trie root.

This module should be used to generate trie root hash.

Functions§

ordered_trie_root
Generates a trie root hash for a vector of values
sec_trie_root
Generates a key-hashed (secure) trie root hash for a vector of key-value tuples.
trie_root
Generates a trie root hash for a vector of key-value tuples