3 releases

✓ Uses Rust 2018 edition

0.16.13 Mar 8, 2020
0.16.12 Feb 21, 2020
0.16.11 Jan 20, 2020
0.16.10 Jan 20, 2020
0.16.9 Jan 20, 2020

#228 in Cryptography

Download history 74/week @ 2020-01-17 7/week @ 2020-01-24 17/week @ 2020-01-31 13/week @ 2020-02-07 10/week @ 2020-02-14 69/week @ 2020-02-21 47/week @ 2020-02-28 64/week @ 2020-03-06 22/week @ 2020-03-13

83 downloads per month
Used in dtool

Custom license

5.5MB
140K SLoC

Assembly 125K SLoC // 0.0% comments Razor 12K SLoC // 0.3% comments BrightScript 2.5K SLoC // 0.2% comments Processing 271 SLoC // 0.3% comments

See https://github.com/briansmith/ring.


lib.rs:

Safe, fast, small crypto using Rust with BoringSSL's cryptography primitives.

git clone https://github.com/briansmith/ring

Feature Flags

Feature Description
alloc (default) Enable features that require use of the heap, RSA in particular.
dev_urandom_fallback (default) This is only applicable to Linux. On Linux, by default, ring::rand::SystemRandom will fall back to reading from /dev/urandom if the getrandom() syscall isn't supported at runtime. When the dev_urandom_fallback feature is disabled, such fallbacks will not occur. See the documentation for rand::SystemRandom for more details.
std Enable features that use libstd, in particular `std::error::Error` integration.

Dependencies