C# Class Org.Mentalis.Security.Ssl.Tls1.ExpansionDeriveBytes

Inheritance: System.Security.Cryptography.DeriveBytes, IDisposable
显示文件 Open project: soywiz/csharputils Class Usage Examples

Public Methods

Method Description
ExpansionDeriveBytes ( HashAlgorithm hash, byte secret, byte seed ) : System
ExpansionDeriveBytes ( HashAlgorithm hash, byte secret, string seed ) : System
GetBytes ( int cb ) : byte[]
Reset ( ) : void
_Dispose ( ) : void

Protected Methods

Method Description
GetNextBytes ( ) : byte[]
Initialize ( HashAlgorithm hash, byte secret, byte seed ) : void

Method Details

ExpansionDeriveBytes() public method

public ExpansionDeriveBytes ( HashAlgorithm hash, byte secret, byte seed ) : System
hash System.Security.Cryptography.HashAlgorithm
secret byte
seed byte
return System

ExpansionDeriveBytes() public method

public ExpansionDeriveBytes ( HashAlgorithm hash, byte secret, string seed ) : System
hash System.Security.Cryptography.HashAlgorithm
secret byte
seed string
return System

GetBytes() public method

public GetBytes ( int cb ) : byte[]
cb int
return byte[]

GetNextBytes() protected method

protected GetNextBytes ( ) : byte[]
return byte[]

Initialize() protected method

protected Initialize ( HashAlgorithm hash, byte secret, byte seed ) : void
hash System.Security.Cryptography.HashAlgorithm
secret byte
seed byte
return void

Reset() public method

public Reset ( ) : void
return void

_Dispose() public method

public _Dispose ( ) : void
return void