C# Class ICSharpCode.SharpZipLib.Encryption.PkzipClassicManaged

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat ICryptoTransform

CreateEncryptor() public méthode

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.
Résultat ICryptoTransform

GenerateIV() public méthode

Generate an initial vector.
public GenerateIV ( ) : void
Résultat void

GenerateKey() public méthode

Generate a new random key.
public GenerateKey ( ) : void
Résultat void