librustzcash/components/zcash_note_encryption
Kris Nuttycombe c88f3e1b9d Remove the `recipient` parameter from zcash_note_encyption::Domain::note_plaintext_bytes
The `Domain::Note` type is now expected to contain information about the
recipient of the note, eliminating the need to pass this information in
via the encryption context.
2023-03-20 16:16:00 -06:00
..
src Remove the `recipient` parameter from zcash_note_encyption::Domain::note_plaintext_bytes 2023-03-20 16:16:00 -06:00
CHANGELOG.md Remove the `recipient` parameter from zcash_note_encyption::Domain::note_plaintext_bytes 2023-03-20 16:16:00 -06:00
Cargo.toml zcash_note_encryption 0.2.0 2022-10-13 21:35:39 +00:00
LICENSE-APACHE zcash_note_encryption: License files and readme 2021-12-17 15:16:17 +00:00
LICENSE-MIT zcash_note_encryption: License files and readme 2021-12-17 15:16:17 +00:00
README.md zcash_note_encryption: Clean up changelog and readme 2022-10-13 21:23:09 +00:00

README.md

zcash_note_encryption

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.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.