Registry / crypto / bitcoin-hashes

bitcoin-hashes

JSON →
library1.0.0rscratesunverified

Hash functions used by the rust-bitcoin ecosystem.

# Cargo.toml [dependencies] bitcoin_hashes = "1.0.0"
INSTALL
IMPORT
SIG · BITCOIN-HASHES
B
bitcoin-hashes
cryptorustv1.0.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.

Hash
use bitcoin_hashes::sha256::Hash;

Computes a SHA256 hash of a byte slice.

use bitcoin_hashes::sha256::Hash; let hash = Hash::hash(b"hello world"); println!("SHA256: {}", hash);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
Resources
bitcoin-hashes — cargo add bitcoin-hashes · libregistry