Struct std::rand::isaac::IsaacRng
[−]
[src]
pub struct IsaacRng { cnt: u32, rsl: [Wrapping<u32>; 256], mem: [Wrapping<u32>; 256], a: Wrapping<u32>, b: Wrapping<u32>, c: Wrapping<u32>, }
Unstable (
rand
): use rand
from crates.io
A random number generator that uses the ISAAC algorithm[1].
The ISAAC algorithm is generally accepted as suitable for
cryptographic purposes, but this implementation has not be
verified as such. Prefer a generator like OsRng
that defers to
the operating system for cases that need high security.
[1]: Bob Jenkins, ISAAC: A fast cryptographic random number generator
Fields
cnt | Unstable ( rand ): use |
rsl | Unstable ( rand ): use |
mem | Unstable ( rand ): use |
a | Unstable ( rand ): use |
b | Unstable ( rand ): use |
c | Unstable ( rand ): use |
Methods
impl IsaacRng
fn new_unseeded() -> IsaacRng
Unstable (
rand
): use rand
from crates.io
Create an ISAAC random number generator using the default fixed seed.