Skip to main content

Module traits

Module traits 

Source
Expand description

Holds definitions of various PRNG traits.

Structs§

DeserializationResult
Represents deserialization result.

Traits§

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.
PRStream
Represents a pseudo random stream. These are easily convertible into PRNGs through the StreamPRNG wrapper.
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.