C# Class ICSharpCode.SharpZipLib.Encryption.PkzipClassicCryptoBase

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

Protected Methods

Method 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 method

Reset the internal state.
protected Reset ( ) : void
return void

SetKeys() protected method

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

TransformByte() protected method

Transform a single byte
protected TransformByte ( ) : byte
return byte

UpdateKeys() protected method

Update encryption keys
protected UpdateKeys ( byte ch ) : void
ch byte
return void