C# Class BraintreeEncryption.Library.BouncyCastle.Crypto.Prng.DigestRandomGenerator

Inheritance: IRandomGenerator
Mostrar archivo Open project: braintree/braintree_windows_phone_encryption

Public Methods

Method Description
AddSeedMaterial ( byte inSeed ) : void
AddSeedMaterial ( long rSeed ) : void
DigestRandomGenerator ( IDigest digest )
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 )
digest IDigest

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