#random #rng #os

rand_os

OS backed Random Number Generator

7 releases

0.2.2 Aug 28, 2019
0.2.1 Aug 8, 2019
0.2.0 Jun 6, 2019
0.1.3 Mar 5, 2019
0.1.2 Jan 29, 2019

#12 in #os

Download history 124292/week @ 2020-04-15 127051/week @ 2020-04-22 127954/week @ 2020-04-29 125959/week @ 2020-05-06 123567/week @ 2020-05-13 112093/week @ 2020-05-20 116789/week @ 2020-05-27 126167/week @ 2020-06-03 119922/week @ 2020-06-10 114007/week @ 2020-06-17 108145/week @ 2020-06-24 101568/week @ 2020-07-01 109206/week @ 2020-07-08 104557/week @ 2020-07-15 102805/week @ 2020-07-22 96913/week @ 2020-07-29

514,474 downloads per month
Used in less than 10 crates

MIT/Apache

54KB
598 lines

rand_os

Build Status Build Status Latest version Book API API Minimum rustc version

A random number generator that retrieves randomness straight from the operating system.

This crate is deprecated: OsRng is available in rand_core since version 0.5.1.

This crate provides OsRng as a shim around getrandom implementing RngCore from rand_core.

Note: the rand crate provides an equivalent OsRng; the two implementations are equivalent, though distinct types.

Links:

License

rand_os is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.

Dependencies

~55–530KB
~10K SLoC