Org.BouncyCastle.Security.SecureRandom.SecureRandom C# (CSharp) Method

SecureRandom() public method

Use the specified instance of IRandomGenerator as random source.
This constructor performs no seeding of either the IRandomGenerator or the constructed SecureRandom. It is the responsibility of the client to provide proper seed material as necessary/appropriate for the given IRandomGenerator implementation.
public SecureRandom ( IRandomGenerator generator ) : System
generator IRandomGenerator The source to generate all random bytes from.
return System
		public SecureRandom(
			IRandomGenerator generator)
			: base(0)
		{
			this.generator = generator;
		}

Same methods

SecureRandom::SecureRandom ( ) : System
SecureRandom::SecureRandom ( byte inSeed ) : System