Expand description

Note encryption for Zcash transactions.

This crate implements the in-band secret distribution scheme for the Sapling and Orchard protocols. It provides reusable methods that implement common note encryption and trial decryption logic, and enforce protocol-agnostic verification requirements.

Protocol-specific logic is handled via the Domain trait. Implementations of this trait are provided in the zcash_primitives (for Sapling) and orchard crates; users with their own existing types can similarly implement the trait themselves.

Modules

  • batchalloc
    APIs for batch trial decryption.

Structs

Constants

Traits

  • Trait that encapsulates protocol-specific batch trial decryption logic.
  • Trait that encapsulates protocol-specific note encryption types and logic.
  • Trait that provides access to the components of an encrypted transaction output.

Functions