Registry / crypto / fixed-hash

fixed-hash

JSON →
library0.8.0rscratesunverified

Macros to define custom fixed-size hash types

cryptoutility
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.

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 footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
mj12bot
1
Resources