Registry / crypto / blake2

blake2

JSON →
library0.10.6rscratesunverified

BLAKE2 hash functions.

# Cargo.toml [dependencies] blake2 = "0.10.6"
INSTALL
IMPORT
SIG · BLAKE2
B
blake2
cryptorustv0.10.6
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.

Blake2b512
use blake2::Blake2b512;

Compute BLAKE2b-512 hash.

use blake2::Blake2b512; use digest::Digest; let mut hasher = Blake2b512::new(); hasher.update(b"hello world"); let result = hasher.finalize();
Debug
Known issues
gotchaRequires the `digest` crate for trait.
fix
Add `digest` as a dependency.
affects: >=0.9.0
Upgrade
Version history
0.10.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Resources
blake2 — cargo add blake2 · libregistry