Registry / crypto / fixed-hash

fixed-hash

JSON →
library0.8.0rscratesunverified

Macros to define custom fixed-size hash types

# Cargo.toml [dependencies] fixed-hash = "0.8.0"
INSTALL
IMPORT
SIG · FIXED-HASH
F
fixed-hash
cryptorustv0.8.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.

construct_fixed_hash
✓ use fixed_hash::construct_fixed_hash;

Define a custom fixed-size hash type

use fixed_hash::construct_fixed_hash; construct_fixed_hash! { pub struct H256(32); } fn main() { let hash = H256::zero(); println!("{:?}", hash); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Resources
fixed-hash — cargo add fixed-hash · libregistry