C# Class AaltoTLS.PluginInterface.PseudoRandomFunction

Show file Open project: juhovh/AaltoTLS Class Usage Examples

Public Methods

Method Description
CreateDeriveBytes ( byte secret, byte seed ) : DeriveBytes
CreateDeriveBytes ( byte secret, string label, byte seed ) : DeriveBytes
CreateVerifyHashAlgorithm ( byte secret ) : HashAlgorithm
GetBytes ( byte secret, string label, byte seed, int count ) : byte[]
SupportsProtocolVersion ( ProtocolVersion version ) : bool

Method Details

CreateDeriveBytes() public abstract method

public abstract CreateDeriveBytes ( byte secret, byte seed ) : DeriveBytes
secret byte
seed byte
return System.Security.Cryptography.DeriveBytes

CreateDeriveBytes() public method

public CreateDeriveBytes ( byte secret, string label, byte seed ) : DeriveBytes
secret byte
label string
seed byte
return System.Security.Cryptography.DeriveBytes

CreateVerifyHashAlgorithm() public abstract method

public abstract CreateVerifyHashAlgorithm ( byte secret ) : HashAlgorithm
secret byte
return System.Security.Cryptography.HashAlgorithm

GetBytes() public method

public GetBytes ( byte secret, string label, byte seed, int count ) : byte[]
secret byte
label string
seed byte
count int
return byte[]

SupportsProtocolVersion() public abstract method

public abstract SupportsProtocolVersion ( ProtocolVersion version ) : bool
version ProtocolVersion
return bool