Module traits

Module traits 

Source
Expand description

Holds PRNG and related traits.

Structs§

DeserializationResult
Represents deserialization result.

Traits§

BlockStream
Represents a stream of blocks. These are easily convertible into PRNGs through the BlockPRNG wrapper.
CryptographicallySecure
A marker trait for cryptographically secure PRNGs.
PRNConcreteBoundedGenerator
Represents a trait for generating pseudo-random data
PRNConcreteGenerator
Generates pseudo random instance of current type.
PRNGSerialize
Represents platform independent (de)serialization trait of given pseudo random number generator.
PRNGenerator
Generates pseudo random numbers.
Seedable
A trait for seeding PRNGs.
Splittable
A trait for splittable PRNGs. This means that given PRNG can split into two generators. This is different from creating a new PRNG (with a random seed), because splitting is a deterministic process.