C# Class SmartAssembly.Zip.SimpleZip

Mostra file Open project: CyberFoxHax/PCSXBonus Class Usage Examples

Public Properties

Property Type Description
ExceptionMessage string

Public Methods

Method Description
Unzip ( byte buffer ) : byte[]
Zip ( byte buffer ) : byte[]
ZipAndAES ( byte buffer, byte key, byte iv ) : byte[]
ZipAndEncrypt ( byte buffer, byte key, byte iv ) : byte[]

Private Methods

Method Description
GetAesTransform ( byte key, byte iv, bool decrypt ) : ICryptoTransform
GetDesTransform ( byte key, byte iv, bool decrypt ) : ICryptoTransform
PublicKeysMatch ( Assembly executingAssembly, Assembly callingAssembly ) : bool
Zip ( byte buffer, int version, byte key, byte iv ) : byte[]

Method Details

Unzip() public static method

public static Unzip ( byte buffer ) : byte[]
buffer byte
return byte[]

Zip() public static method

public static Zip ( byte buffer ) : byte[]
buffer byte
return byte[]

ZipAndAES() public static method

public static ZipAndAES ( byte buffer, byte key, byte iv ) : byte[]
buffer byte
key byte
iv byte
return byte[]

ZipAndEncrypt() public static method

public static ZipAndEncrypt ( byte buffer, byte key, byte iv ) : byte[]
buffer byte
key byte
iv byte
return byte[]

Property Details

ExceptionMessage public_oe static_oe property

public static string ExceptionMessage
return string