C# Class SaltTPF.ZipCrypto

Show file Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
tpfkey byte[]

Private Properties

Property Type Description
DecryptBlock void
EncryptBlock void
InitCipher void
UpdateKeys void

Public Methods

Method Description
DecryptData ( ZipReader entry, byte block, int start, int count ) : void
EncryptData ( Stream fs, byte comprBlock ) : void

Private Methods

Method Description
DecryptBlock ( byte block, int offset, int count ) : void
EncryptBlock ( byte block, int offset, int count ) : void
InitCipher ( byte password ) : void
UpdateKeys ( byte byteval ) : void

Method Details

DecryptData() public static method

public static DecryptData ( ZipReader entry, byte block, int start, int count ) : void
entry ZipReader
block byte
start int
count int
return void

EncryptData() public static method

public static EncryptData ( Stream fs, byte comprBlock ) : void
fs Stream
comprBlock byte
return void

Property Details

tpfkey public static property

public static byte[] tpfkey
return byte[]