Expand description
Crypto-related definitions
Re-exports§
pub use blind::BaseBlind;
pub use blind::Blind;
pub use blind::ScalarBlind;
pub use util::poseidon_hash;
pub use keypair::Keypair;
pub use keypair::PublicKey;
pub use keypair::SecretKey;
pub use contract_id::ContractId;
pub use contract_id::DAO_CONTRACT_ID;
pub use contract_id::DEPLOYOOOR_CONTRACT_ID;
pub use contract_id::MONEY_CONTRACT_ID;
pub use func_ref::FuncId;
pub use func_ref::FuncRef;
pub use merkle_node::MerkleNode;
pub use merkle_node::MerkleTree;
pub use pedersen::pedersen_commitment_base;
pub use pedersen::pedersen_commitment_u64;
Modules§
- blind
- Blinding factors
- constants
- Cryptographic constants
- contract_
id - Contract ID definitions and methods
- diffie_
hellman - Diffie-Hellman techniques
- ecvrf
- Elliptic curve VRF (Verifiable Random Function) https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-vrf-04#section-5
- func_
ref - Function ID definitions and methods
- keypair
- Keypairs, secret keys, and public keys
- merkle_
node - Merkle node definitions
- mimc_
vdf - MiMC VDF https://vitalik.eth.limo/general/2018/07/21/starks_part_3.html
- note
- Note encryption
- pasta_
prelude - Convenience module to import all the pasta traits. You still have to import the curves.
- pedersen
- Pedersen commitment utilities
- schnorr
- Schnorr signature traits
- smt
- Sparse Merkle Tree implementation This file provides a native implementation of the Sparse Merkle tree data structure.
- util
- Miscellaneous utilities