SecureRandom(IRandomGenerator) Constructor
Use the specified instance of IRandomGenerator as random source.
Namespace: Org.BouncyCastle.SecurityAssembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
Org.BouncyCastle.Security.SecureRandom = function(generator);
Parameters
- generator IRandomGenerator
- The source to generate all random bytes from.
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.