C# (CSharp) MpcLib.Common.StochasticUtils Namespace

Classes

Name Description
SafeRandom Implements a safe random number generator seeded using RNGCryptoServiceProvider. This RNG is safe meaning that the default seed value is time-independent so if more than one instance of it is created at the same "time", the random sequence generated by each instance is completely different (independent) from other instances'. WARNING: The sequence of random numbers generated by this method is NOT cryptographically-secure. DO NOT USE IN REAL SITUATIONS.
StaticRandom Only for simulation use. Do not use for real runs.