8 releases
0.2.0-alpha.4 | Mar 6, 2025 |
---|---|
0.2.0-alpha.3 | Jan 30, 2025 |
0.2.0-alpha.2 | Dec 19, 2024 |
0.2.0-alpha.1 | Nov 15, 2024 |
0.1.0-rc | Aug 29, 2024 |
#15 in Magic Beans
22 downloads per month
325KB
6.5K
SLoC
Common cryptographic procedures for a blockchain environment.
Note that
crypto
is still0.*.*
, so breaking changes may occur at any time. If you must depend oncrypto
, we recommend pinning to a specific version, i.e.,=0.y.z
.
Verifying Merkle Proofs
merkle.rs
provides:
- A
verify
function which can prove that some value is part of a Merkle tree. - A
verify_multi_proof
function which can prove multiple values are part of a Merkle tree.
Cryptographic Utilities
Common cryptographic procedures for a blockchain environment.
Warning
Note that crypto
is still 0.*.*
, so breaking changes
may occur at any time. If you must depend
on crypto
, we recommend pinning to a specific version, i.e., =0.y.z
.
Verifying Merkle Proofs
merkle.rs
provides:
- A
verify
function which can prove that some value is part of a Merkle tree. - A
verify_multi_proof
function which can prove multiple values are part of a Merkle tree.
Feature Flags
This crate exposes its modules behind feature gates to ensure the bare minimum is included in consumer codebases. You can check the current feature flags in the Cargo.toml file.
Security
Refer to our Security Policy for more details.
Dependencies
~0.4–1MB
~20K SLoC