HashlibRandom.secure constructor

HashlibRandom.secure({
  1. int? seed,
})

Creates an instance based on RNG.secure generator with optional seed value.

Implementation

factory HashlibRandom.secure({int? seed}) =>
    HashlibRandom.custom(RNG.secure.build(seed));