tree: b15a589f0c49dbfa4af71529692ee150a52e2c91 [path history] [tgz]
  1. src/
  2. Cargo.toml
  3. CHANGELOG.md
  4. COPYRIGHT
  5. LICENSE-APACHE
  6. LICENSE-MIT
  7. README.md
rand_os/README.md

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.