Registry / crypto / sp-crypto-hashing

sp-crypto-hashing

JSON →
library0.1.0rscratesunverified

Provides hashing primitives for the Polkadot SDK.

# Cargo.toml [dependencies] sp-crypto-hashing = "0.1.0"
INSTALL
IMPORT
SIG · SP-CRYPTO-HASHING
S
sp-crypto-hashing
cryptorustv0.1.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.

blake2_256
use sp_crypto_hashing::blake2_256;

Computes a Blake2-256 hash using the crate's primary function.

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

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
Resources
sp-crypto-hashing — cargo add sp-crypto-hashing · libregistry