#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

#28 in #rng

Download history 78016/week @ 2021-08-18 80574/week @ 2021-08-25 69341/week @ 2021-09-01 86028/week @ 2021-09-08 84844/week @ 2021-09-15 93715/week @ 2021-09-22 84082/week @ 2021-09-29 108718/week @ 2021-10-06 121463/week @ 2021-10-13 105565/week @ 2021-10-20 123917/week @ 2021-10-27 123219/week @ 2021-11-03 110226/week @ 2021-11-10 113244/week @ 2021-11-17 107064/week @ 2021-11-24 128088/week @ 2021-12-01

483,305 downloads per month
Used in less than 10 crates

MIT/Apache

60KB
700 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

~60–590KB
~11K SLoC

f]