Struct std::rand::Isaac64Rng
[−]
[src]
pub struct Isaac64Rng { cnt: usize, rsl: [Wrapping<u64>; 256], mem: [Wrapping<u64>; 256], a: Wrapping<u64>, b: Wrapping<u64>, c: Wrapping<u64>, }
Unstable (
rand
): use rand
from crates.io
A random number generator that uses ISAAC-64[1], the 64-bit variant of the ISAAC algorithm.
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 Isaac64Rng
fn new_unseeded() -> Isaac64Rng
Unstable (
rand
): use rand
from crates.io
Create a 64-bit ISAAC random number generator using the default fixed seed.