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

Inheritance: IRandomGenerator
ファイルを表示 Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
AddSeedMaterial ( byte inSeed ) : void
AddSeedMaterial ( long rSeed ) : void
DigestRandomGenerator ( IDigest digest ) : System
NextBytes ( byte bytes ) : void
NextBytes ( byte bytes, int start, int len ) : void

Private Methods

Method Description
CycleSeed ( ) : void
DigestAddCounter ( long seedVal ) : void
DigestDoFinal ( byte result ) : void
DigestUpdate ( byte inSeed ) : void
GenerateState ( ) : void

Method Details

AddSeedMaterial() public method

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

AddSeedMaterial() public method

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

DigestRandomGenerator() public method

public DigestRandomGenerator ( IDigest digest ) : System
digest IDigest
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