Crate aztec_crypto

Crate aztec_crypto 

Source
Expand description

Cryptographic primitives and key derivation for the Aztec protocol.

Re-exports§

pub use address::complete_address_from_secret_key_and_partial_address;
pub use keys::compute_app_nullifier_hiding_key;
pub use keys::compute_app_secret_key;
pub use keys::compute_ovsk_app;
pub use keys::derive_keys;
pub use keys::derive_master_incoming_viewing_secret_key;
pub use keys::derive_master_nullifier_hiding_key;
pub use keys::derive_master_outgoing_viewing_secret_key;
pub use keys::derive_master_tagging_secret_key;
pub use keys::derive_public_key_from_secret_key;
pub use keys::derive_signing_key;
pub use keys::DerivedKeys;
pub use keys::KeyType;
pub use pedersen::pedersen_hash;
pub use schnorr::schnorr_sign;
pub use schnorr::schnorr_verify;
pub use schnorr::SchnorrSignature;

Modules§

address
Address derivation utilities.
keys
Key derivation for the Aztec protocol.
pedersen
Pedersen hash on the Grumpkin curve.
schnorr
Schnorr signature scheme on the Grumpkin curve.

Functions§

compute_address
Compute an Aztec address from public keys and a partial address.
compute_secret_hash
Hash a secret for use in L1-L2 message flow and TransparentNote.
sha512_to_grumpkin_scalar
Compute SHA-512 of the concatenated inputs and reduce to a Grumpkin scalar.