Trait libafl::utils::RandomSeed[][src]

pub trait RandomSeed: Rand + Default {
    fn new() -> Self;
}

Initialize Rand types from a source of randomness.

Default implementations are provided with the “std” feature enabled, using system time in nanoseconds as the initial seed.

Required methods

fn new() -> Self[src]

Creates a new RandomSeed.

Loading content...

Implementors

impl RandomSeed for Lehmer64Rand[src]

fn new() -> Self[src]

Creates a rand instance, pre-seeded with the current time in nanoseconds.

impl RandomSeed for RomuDuoJrRand[src]

fn new() -> Self[src]

Creates a rand instance, pre-seeded with the current time in nanoseconds.

impl RandomSeed for RomuTrioRand[src]

fn new() -> Self[src]

Creates a rand instance, pre-seeded with the current time in nanoseconds.

impl RandomSeed for XorShift64Rand[src]

fn new() -> Self[src]

Creates a rand instance, pre-seeded with the current time in nanoseconds.

impl RandomSeed for Xoshiro256StarRand[src]

fn new() -> Self[src]

Creates a rand instance, pre-seeded with the current time in nanoseconds.

Loading content...