Key Derivation Generator Overrides
All cryptographic keys are derived from the master seed via KMAC256 or Poseidon. Every derivation step is injectable. The following generator types appear as optionaldeps across the functions that use them.
Master Viewing Key Generators
Poseidon Private Key Generators
X25519 / Curve25519 Keypair Generators
getRotateMintX25519EncryptionKeyFunction deps.
Viewing Key Generators (Poseidon sub-hierarchy)
Commitment Factor Generators
Ephemeral UTXO Key Generators
Each UTXO operation uses per-UTXO ephemeral keys parameterized by the on-chain generation index. All are injectable:Cryptographic Operation Overrides
Beyond key generation, the low-level cryptographic operations themselves are injectable.Rescue Cipher (RC) - Encryption and Decryption
The Rescue cipher is used to encrypt UTXO payloads and encrypted token account balances.getRcEncryptorandgetRcKeyGeneratorappear in: registration, UTXO creation depsrcDecryptorappears in:getQueryEncryptedBalanceFunctiondeps - override to provide a custom decryption backend