Registry / crypto / nimiq-hash

nimiq-hash

JSON →
library1.7.0rscratesunverified

Common wrapper around hash implementations used in Nimiq.

# Cargo.toml [dependencies] nimiq-hash = "1.7.0"
INSTALL
IMPORT
SIG · NIMIQ-HASH
N
nimiq-hash
cryptorustv1.7.0
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.

Blake2bHash
use nimiq_hash::Blake2bHash;

Compute a Blake2b hash using the Nimiq hash wrapper.

use nimiq_hash::Blake2bHash; fn main() { let hash = Blake2bHash::hash(b"hello"); println!("{}", hash); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
nimiq-hash — cargo add nimiq-hash · libregistry