17 stable releases

Uses new Rust 2024

3.1.0 Oct 2, 2025
3.0.11 Mar 26, 2026
3.0.9 Oct 14, 2025
2.0.1 Sep 9, 2025
1.4.0 Mar 20, 2025

#6 in #shielded

Download history 136/week @ 2026-02-23 246/week @ 2026-03-02 204/week @ 2026-03-09 156/week @ 2026-03-16 117/week @ 2026-03-23 223/week @ 2026-03-30 214/week @ 2026-04-06 317/week @ 2026-04-13 183/week @ 2026-04-20 291/week @ 2026-04-27 521/week @ 2026-05-04 274/week @ 2026-05-11 380/week @ 2026-05-18 344/week @ 2026-05-25 233/week @ 2026-06-01 214/week @ 2026-06-08

1,234 downloads per month
Used in 48 crates (via masp_primitives)

MIT/Apache

34KB
488 lines

masp_note_encryption

This crate implements the in-band secret distribution scheme for the MASP protocol. 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. Implementation of this trait is provided in the masp_primitives crate; 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.

Dependencies

~8MB
~233K SLoC