Registry / crypto / bitcoin-hash

bitcoin-hash

JSON →
library0.1.20rscratesunverified

Tools and context for hashing bytes, used in Bitcoin-related projects.

# Cargo.toml [dependencies] bitcoin-hash = "0.1.20"
INSTALL
IMPORT
SIG · BITCOIN-HASH
B
bitcoin-hash
cryptorustv0.1.20
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_hash::Hash;

Hash a byte slice using the Bitcoin hash function.

use bitcoin_hash::Hash; fn main() { let hash = Hash::hash(b"data"); println!("{:?}", hash); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.20latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Resources
bitcoin-hash — cargo add bitcoin-hash · libregistry