C# Class Org.BouncyCastle.Crypto.Prng.CryptoApiRandomGenerator

Uses Microsoft's RNGCryptoServiceProvider
Inheritance: IRandomGenerator
Datei anzeigen Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
AddSeedMaterial ( byte seed ) : void
AddSeedMaterial ( long seed ) : void
CryptoApiRandomGenerator ( ) : System
CryptoApiRandomGenerator ( RandomNumberGenerator rng ) : System
NextBytes ( byte bytes ) : void
NextBytes ( byte bytes, int start, int len ) : void

Method Details

AddSeedMaterial() public method

public AddSeedMaterial ( byte seed ) : void
seed byte
return void

AddSeedMaterial() public method

public AddSeedMaterial ( long seed ) : void
seed long
return void

CryptoApiRandomGenerator() public method

public CryptoApiRandomGenerator ( ) : System
return System

CryptoApiRandomGenerator() public method

public CryptoApiRandomGenerator ( RandomNumberGenerator rng ) : System
rng RandomNumberGenerator
return System

NextBytes() public method

public NextBytes ( byte bytes ) : void
bytes byte
return void

NextBytes() public method

public NextBytes ( byte bytes, int start, int len ) : void
bytes byte
start int
len int
return void