Crates.io | zcash_note_encryption |
lib.rs | zcash_note_encryption |
version | 0.4.1 |
source | src |
created_at | 2021-03-19 20:56:43.074577 |
updated_at | 2024-12-07 04:37:26.333977 |
description | Note encryption for Zcash transactions |
homepage | https://github.com/zcash/librustzcash |
repository | https://github.com/zcash/librustzcash |
max_upload_size | |
id | 371091 |
size | 50,593 |
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.
Licensed under either of
at your option.
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.