Registry / crypto / multihash-codetable

multihash-codetable

JSON →
library0.2.2rscratesunverified

Default multihash code-table with cryptographically secure hash implementations

# Cargo.toml [dependencies] multihash-codetable = "0.2.2"
INSTALL
IMPORT
SIG · MULTIHASH-CODETABL
M
multihash-codetable
cryptorustv0.2.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Multihash
use multihash_codetable::Multihash;

Create a multihash with SHA2-256 code

use multihash_codetable::Multihash; fn main() { let hash = Multihash::wrap(0x12, &[1, 2, 3]).unwrap(); println!("Multihash: {:?}", hash); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
multihash-codetable — cargo add multihash-codetable · libregistry