[][src]Module sp_runtime::random_number_generator

A simple pseudo random number generator that allows a stream of random numbers to be efficiently created from a single initial seed hash.



Pseudo-random number streamer. This retains the state of the random number stream. It's as secure as the combination of the seed with which it is constructed and the hash function it uses to cycle elements.