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
12,292 downloads per month
Used in 19 crates
(10 directly)
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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