[][src]Module zcash_primitives::note_encryption

Implementation of in-band secret distribution for Zcash transactions.

Structs

Memo

An unencrypted memo received alongside a shielded note in a Zcash transaction.

OutgoingCipherKey

A symmetric key that can be used to recover a single Sapling output.

SaplingNoteEncryption

An API for encrypting Sapling notes.

Constants

KDF_SAPLING_PERSONALIZATION
PRF_OCK_PERSONALIZATION

Functions

plaintext_version_is_valid
prf_ock

Sapling PRF^ock.

sapling_ka_agree

Sapling key agreement for note encryption.

try_sapling_compact_note_decryption

Trial decryption of the compact note plaintext by the recipient for light clients.

try_sapling_note_decryption

Trial decryption of the full note plaintext by the recipient.

try_sapling_output_recovery

Recovery of the full note plaintext by the sender.

try_sapling_output_recovery_with_ock

Recovery of the full note plaintext by the sender.