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
getMintEncryptionKeyRotatorFunction deps (in @umbra-privacy/sdk/account).
Viewing Key Generators (Poseidon sub-hierarchy)
Commitment Factor Generators
Ephemeral Stealth Pool Note key generators
Each note operation uses per-note ephemeral keys parameterised by the on-chain generation index. All are injectable. The TypeScript names retained their V13 spellings (EphemeralUtxo*) and the burn-side interfaces re-export them under V18 aliases:
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 Stealth Pool Note payloads and EncryptedTokenAccount balances.getRcEncryptorandgetRcKeyGeneratorappear in: registration, Stealth Pool Note creation deps.rcDecryptorappears in:getEncryptedBalanceQuerierFunctiondeps — override to provide a custom decryption backend.