PdfEncryptionAlgorithm Enum
The algorithm of the standard security handler that encrypts the strings and the streams of a document (ISO 32000-2, 7.6).
public enum PdfEncryptionAlgorithmFields
| Name | Value | Description |
|---|---|---|
Rc4With40BitKey | 0 | RC4 with a 40-bit key: revision 2 of the standard security handler (PDF 1.1). It is not secure: use it only for old readers. |
Rc4With128BitKey | 1 | RC4 with a 128-bit key: revision 3 (PDF 1.4). It is not secure, and PDF 2.0 deprecates it. |
AesWith128BitKey | 2 | AES with a 128-bit key: revision 4 (PDF 1.6). PDF 2.0 deprecates it. |
AesWith256BitKey | 3 | AES with a 256-bit key: revision 6 (PDF 2.0). The default. |