C# Class Org.BouncyCastle.Bcpg.S2k

The string to key specifier class.
Inheritance: BcpgObject
显示文件 Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Encode ( BcpgOutputStream bcpgOut ) : void
GetIV ( ) : byte[]

The IV for the key generation algorithm.

S2k ( HashAlgorithmTag algorithm ) : System
S2k ( HashAlgorithmTag algorithm, byte iv ) : System
S2k ( HashAlgorithmTag algorithm, byte iv, int itCount ) : System

Private Methods

Method Description
GetIterationCount ( ) : long
S2k ( Stream inStr ) : System

Method Details

Encode() public method

public Encode ( BcpgOutputStream bcpgOut ) : void
bcpgOut BcpgOutputStream
return void

GetIV() public method

The IV for the key generation algorithm.
public GetIV ( ) : byte[]
return byte[]

S2k() public method

public S2k ( HashAlgorithmTag algorithm ) : System
algorithm HashAlgorithmTag
return System

S2k() public method

public S2k ( HashAlgorithmTag algorithm, byte iv ) : System
algorithm HashAlgorithmTag
iv byte
return System

S2k() public method

public S2k ( HashAlgorithmTag algorithm, byte iv, int itCount ) : System
algorithm HashAlgorithmTag
iv byte
itCount int
return System