Xceed's implementation of AES encryption lets you incorporate industry standard strong encryption in your .NET applications.
The EncryptionMethod enumeration provides the following values, representing the kind of encryption used:
Value | Description |
---|---|
Compatible | The traditional ZIP encryption. This is a weak encryption method. |
WinZipAES | The WinZip AES encryption method. This is a strong encryption method. Note: This encryption method is not currently available in Xceed's .NET Compact Framework products. |
The following code demonstrates how to use Xceed's AES encryption. WinZipAes is used as the encryption method, and the encryption strength is set to 256 bits:
Decryption is demonstrated in the following code. Note that it is not necessary to specify the encryption method or strength, as these are detected automatically.