#multi-hash #hashing #table #ipfs #data #multiformats #secure

no-std multihash-codetable

Default multihash code-table with cryptographically secure hash implementations

5 releases

0.1.4 Oct 24, 2024
0.1.3 Jun 26, 2024
0.1.2 Feb 23, 2024
0.1.1 Oct 30, 2023
0.1.0 Jun 6, 2023

#3 in #multi-hash

Download history 2654/week @ 2024-10-31 2519/week @ 2024-11-07 2384/week @ 2024-11-14 3295/week @ 2024-11-21 4032/week @ 2024-11-28 3950/week @ 2024-12-05 3848/week @ 2024-12-12 2102/week @ 2024-12-19 1110/week @ 2024-12-26 2746/week @ 2025-01-02 3553/week @ 2025-01-09 3475/week @ 2025-01-16 3064/week @ 2025-01-23 3093/week @ 2025-01-30 4036/week @ 2025-02-06 2625/week @ 2025-02-13

13,429 downloads per month
Used in 152 crates (32 directly)

MIT license

28KB
441 lines

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.

Dependencies

~1.6–3.5MB
~64K SLoC