Module sapling_crypto::note_encryption
source · Expand description
Implementation of in-band secret distribution for Zcash transactions.
NB: the example code is only covering the post-Canopy case.
Re-exports§
pub use crate::keys::PreparedEphemeralPublicKey;
pub use crate::keys::PreparedIncomingViewingKey;
Structs§
Enums§
- The enforcement policy for ZIP 212 that should be applied when creating or decrypting Sapling outputs.
Constants§
Functions§
- Sapling PRF^ock.
- Creates a new encryption context for the given note.
- Recovery of the full note plaintext by the sender.
- Recovery of the full note plaintext by the sender.