One Time Pad for rand.
This is useful when you want to control the sequence of generated numbers. One example use case is for fuzz-testing programs that pull values from a RNG. Using a PRNG would result in basically brute-force fuzzing while using rand_otp
allows guided-fuzzing to be effective.
let buf = ;
let mut rng = new;
assert_eq!;
// Read random values from a file (or from a random device).
let f = open.unwrap;
let mut rng = new;
eprintln!;