Go to file
Jack Grigg 9c76d5789f Render byte slices as hex more often in `Debug` impls
This is more generally useful for debugging purposes than the default
`Debug` impl for `&[u8]`.

We also provide an alternate `Debug` impl for `legacy::Script` that
parses and renders known opcodes. Note that we only parse a subset of
the full opcode set.


Extracted from: c8e2d81f58
2023-08-30 20:41:27 +00:00
src Render byte slices as hex more often in `Debug` impls 2023-08-30 20:41:27 +00:00
CHANGELOG.md Release zcash_note_encryption version 0.4.0 2023-06-06 10:12:33 -06:00
Cargo.toml Release zcash_note_encryption version 0.4.0 2023-06-06 10:12:33 -06: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.