#sapling #zcash #cryptography #order #build

no-std sapling-crypto

Cryptographic library for Zcash Sapling

9 releases (5 breaking)

0.5.0 Feb 21, 2025
0.4.0 Dec 17, 2024
0.3.0 Oct 2, 2024
0.2.0 Aug 12, 2024
0.0.1 Dec 6, 2017

#10 in #sapling

Download history 2593/week @ 2024-11-16 1958/week @ 2024-11-23 2973/week @ 2024-11-30 2060/week @ 2024-12-07 2300/week @ 2024-12-14 1166/week @ 2024-12-21 1172/week @ 2024-12-28 1358/week @ 2025-01-04 1848/week @ 2025-01-11 2584/week @ 2025-01-18 3216/week @ 2025-01-25 3443/week @ 2025-02-01 3717/week @ 2025-02-08 2643/week @ 2025-02-15 3153/week @ 2025-02-22 2234/week @ 2025-03-01

12,292 downloads per month
Used in 19 crates (10 directly)

MIT/Apache

720KB
13K SLoC

sapling-crypto

This repository contains an implementation of Zcash's "Sapling" cryptography.

no_std compatibility

Downstream users of this crate must enable the spin_no_std feature of the lazy_static crate in order to take advantage of no_std builds; this is due to the fact that --no-default-features builds of lazy_static still rely on std.

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.


lib.rs:

sapling

Nomenclature

All types in the sapling-crypto crate, unless otherwise specified, are Sapling-specific types. For example, PaymentAddress is documented as being a shielded payment address; we implicitly mean it is an Sapling payment address (as opposed to e.g. an Orchard payment address, which is also shielded).

Dependencies

~6–8MB
~153K SLoC