C# Class ICSharpCode.SharpZipLib.Encryption.PkzipClassicCryptoBase

PkzipClassicCryptoBase provides the low level facilities for encryption and decryption using the PkzipClassic algorithm.
Afficher le fichier Open project: icsharpcode/SharpZipLib

Méthodes protégées

Méthode Description
Reset ( ) : void

Reset the internal state.

SetKeys ( byte keyData ) : void

Set the key schedule for encryption/decryption.

TransformByte ( ) : byte

Transform a single byte

UpdateKeys ( byte ch ) : void

Update encryption keys

Method Details

Reset() protected méthode

Reset the internal state.
protected Reset ( ) : void
Résultat void

SetKeys() protected méthode

Set the key schedule for encryption/decryption.
protected SetKeys ( byte keyData ) : void
keyData byte The data use to set the keys from.
Résultat void

TransformByte() protected méthode

Transform a single byte
protected TransformByte ( ) : byte
Résultat byte

UpdateKeys() protected méthode

Update encryption keys
protected UpdateKeys ( byte ch ) : void
ch byte
Résultat void