FortunaPRNG constructor

FortunaPRNG([
  1. List<int>? seed
])

Constructor for the FortunaPRNG class, initializing the pseudorandom number generator (PRNG).

Parameters:

  • seed: An optional seed used to initialize the PRNG. If not provided, the PRNG will be initialized with a secure random seed.

Implementation

FortunaPRNG([List<int>? seed]) {
  _initKey(seed);
}