Crates.io | zcash_note_encryption |
lib.rs | zcash_note_encryption |
version | 0.4.0 |
source | src |
created_at | 2021-03-19 20:56:43.074577 |
updated_at | 2023-06-06 17:04:08.157831 |
description | Note encryption for Zcash transactions |
homepage | https://github.com/zcash/librustzcash |
repository | https://github.com/zcash/librustzcash |
max_upload_size | |
id | 371091 |
size | 46,307 |
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.