officefileapi-devexpress-dot-spreadsheet-aa8ce1a5.md
Lists available encryption types for a workbook.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public enum EncryptionType
Public Enum EncryptionType
| Name | Description |
|---|---|
Compatible |
Standard encryption for Open XML files that uses a binary EncryptionInfo structure. The default encryption algorithm is AES-128 and SHA-1 is used as a hashing algorithm. Binary files (XLS) are encrypted by 40-bit RC4 encryption.
|
| Strong |
Agile encryption for Open XML files that uses an XML EncryptionInfo structure. The default encryption algorithm is AES-256 and SHA512 is used as a hashing algorithm. Binary files (XLS) are encrypted by RC4 CryptoAPI encryption.
|
The following properties accept/return EncryptionType values:
See Also