Crate multihash_codetable
source ·Expand description
A batteries-included code table of multihashes.
Whilst the multihash crate itself only defines the data structure, this crate defines a codetable via multihash_derive for several hashers.
Although convenient, depending on this crate will increase the dependency footprint of your project.
It is only recommended as a getting-started-quickly solution.
For production, you should either define your own codetable or rely only on the multihash crate itself.
Enums
- Default (cryptographically secure) Multihash implementation.
Traits
- Trait that implements hashing.
Type Aliases
- A Multihash with the same allocated size as the Multihashes produces by this derive.
Derive Macros
- Custom derive for the
MultihashDigesttrait.