Crate openzeppelin_crypto

Source
Expand description

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.

Re-exports§

pub use keccak::KeccakBuilder;

Modules§

hash
Generic hashing support.
keccak
An interface to the default hashing algorithm used in this library’s merkle proofs.
merkle
This module deals with verification of Merkle Tree proofs.