Module keys

Module keys 

Source
Expand description

Key derivation for the Aztec protocol.

Implements the full key hierarchy: master secret keys via SHA-512, master public keys via Grumpkin scalar multiplication, and app-scoped keys via Poseidon2.

Structs§

DerivedKeys
The complete set of derived keys from a secret key.

Enums§

KeyType
Identifies a key type for app-scoped derivation.

Functions§

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.
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.