C# Class ICSharpCode.SharpZipLib.Encryption.PkzipClassicManaged

Defines a wrapper object to access the Pkzip algorithm. This class cannot be inherited.
Inheritance: PkzipClassic
Show file Open project: icsharpcode/SharpZipLib Class Usage Examples

Public Methods

Method Description
CreateDecryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform

Create a decryptor.

CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform

Create an encryptor.

GenerateIV ( ) : void

Generate an initial vector.

GenerateKey ( ) : void

Generate a new random key.

Method Details

CreateDecryptor() public method

Create a decryptor.
public CreateDecryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform
rgbKey byte Keys to use for this new decryptor.
rgbIV byte Initialisation vector for the new decryptor.
return ICryptoTransform

CreateEncryptor() public method

Create an encryptor.
public CreateEncryptor ( byte rgbKey, byte rgbIV ) : ICryptoTransform
rgbKey byte The key to use for this encryptor.
rgbIV byte Initialisation vector for the new encryptor.
return ICryptoTransform

GenerateIV() public method

Generate an initial vector.
public GenerateIV ( ) : void
return void

GenerateKey() public method

Generate a new random key.
public GenerateKey ( ) : void
return void