30 stable releases (7 major)

Uses new Rust 2021

93.5.0 Jun 16, 2022
93.2.2 May 27, 2022
92.0.1 Mar 25, 2022
91.1.2 Apr 19, 2022
86.2.0 Nov 2, 2021

#852 in Cryptography

441 stars & 38 watchers

MPL-2.0 license

200KB
4.5K SLoC

rc_crypto

The rc_crypto crate, like its name implies, handles all of our cryptographic needs.

For consumers, it pretty much follows the very rust-idiomatic ring crate API and offers the following functionality:

Under the hood, it is backed by Mozilla's NSS library, through bindings in the nss crate. This has a number of advantages for our use-case:

Rust features

  • gecko will avoid linking against libsqlite3_sys's libsqlite. See #2882 for context.

Dependencies

~2.2–3MB
~91K SLoC