Enum PdfEncryptionAlgorithm
- Namespace
- SoftZenPdf
- Assembly
- SoftZenPdf.dll
Encryption algorithms of the Standard Security Handler.
public enum PdfEncryptionAlgorithm
Fields
Rc4_40 = 0RC4 with a 40-bit key (revision 2). Obsolete and insecure; only for very old viewers.
Rc4_128 = 1RC4 with a 128-bit key (revision 3). RC4 is cryptographically broken; only for old viewers.
Aes128 = 2AES-128 (revision 4). For viewers that predate AES-256 support.
Aes256 = 3AES-256 (revision 6, ISO 32000-2). The default and the recommended choice.