FortunaPRNG class
The FortunaPRNG
class represents an implementation of the Fortuna pseudorandom number generator (PRNG) algorithm.
Fortuna is a cryptographic PRNG designed to provide a strong source of randomness, suitable for various security and cryptographic applications.
The class includes methods for initializing and generating random data.
Constructors
-
FortunaPRNG([List<
int> ? seed]) -
Constructor for the
FortunaPRNG
class, initializing the pseudorandom number generator (PRNG).
Properties
Methods
-
nextBytes(
int length) → List< int> -
Generates and returns a
List<int>
containing pseudorandom data of the specified length from the Fortuna PRNG. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited