TEncryptionType Enumeration
How the file is encrypted. This applies only to xls files. Xlsx files are encrypted using the Agile xlsx encryption.
Syntax
Unit: FlexCel.Core
Members
Name | Value | Description |
---|---|---|
XorEncryption | 0 | Excel 95 XOR encryption. |
Standard | 1 | Excel 97/2000 encryption. |
Strong | 2 | Excel XP/2003 encryption. Note that despite the name, this mode has multiple known vulnerabilities and it is just marginally better than TEncryptionType.Standard. Both use RC4 algorithm to encrypt, which is weak. If you need files to be really secure, you need to use xlsx (which supports AES), not xls. |