#ethereum #stylus #arbitrum

no-std openzeppelin-crypto

Cryptography Utilities

3 releases

new 0.1.1 Oct 28, 2024
0.1.0 Oct 17, 2024
0.1.0-rc Aug 29, 2024

#800 in Magic Beans

Download history 113/week @ 2024-08-26 20/week @ 2024-09-16 6/week @ 2024-09-23 7/week @ 2024-09-30 141/week @ 2024-10-14 9/week @ 2024-10-21

157 downloads per month

MIT license

39KB
405 lines

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.


lib.rs:

Common cryptographic procedures for a blockchain environment.

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.

Dependencies

~55KB