Expand description
Cryptographic primitives and key derivation.
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.
Structs§
- Derived
Keys - The complete set of derived keys from a secret key.
- Schnorr
Signature - A Schnorr signature (s, e) on the Grumpkin curve.
Enums§
- KeyType
- Identifies a key type for app-scoped derivation.
Functions§
- complete_
address_ from_ secret_ key_ and_ partial_ address - Derive a complete address from a secret key and partial address.
- compute_
address - Compute an Aztec address from public keys and a partial address.
- compute_
app_ nullifier_ hiding_ key - Compute the app-scoped nullifier hiding key.
- compute_
app_ secret_ key - Compute an app-scoped secret key from a master key and app address.
- compute_
ovsk_ app - Compute the app-scoped outgoing viewing secret key.
- compute_
secret_ hash - Hash a secret for use in L1-L2 message flow and TransparentNote.
- derive_
keys - Derive the complete key set from a secret key.
- derive_
master_ incoming_ viewing_ secret_ key - Derive the master incoming viewing secret key from a secret key.
- derive_
master_ nullifier_ hiding_ key - Derive the master nullifier hiding key from a secret key.
- derive_
master_ outgoing_ viewing_ secret_ key - Derive the master outgoing viewing secret key from a secret key.
- derive_
master_ tagging_ secret_ key - Derive the master tagging secret key from a secret key.
- derive_
public_ key_ from_ secret_ key - Derive a Grumpkin public key from a secret key via scalar multiplication.
- derive_
signing_ key - Derive the signing key from a secret key.
- pedersen_
hash - Compute the Pedersen hash of a slice of field elements.
- schnorr_
sign - Sign a message with a Grumpkin private key using Schnorr.
- schnorr_
verify - Verify a Schnorr signature against a public key and message hash.
- sha512_
to_ grumpkin_ scalar - Compute SHA-512 of the concatenated inputs and reduce to a Grumpkin scalar.