# EncryptionType Enum

> Encryption types for securing a PDF document.

- Product: Adobe PDF Library 21
- Language: Modern C++
- Version: 21.4.0
- HTML page: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/EncryptionType
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

**Namespace:** `datalogics_interface`

## Description

Encryption types for securing a PDF document.

## Values

- `Standard = 0`: Reuse the document's current encryption settings, or use the standard 128-bit encryption.
- `AES256 = 1`: Encrypt the document using 256-bit AES encryption for Acrobat 9 or earlier.
- `AES256_AcroX = 2`: Encrypt the document using 256-bit AES encryption for Acrobat 10 or later.
- `RC4_40 = 3`: Encrypt the document using 40-bit RC4 encryption for Acrobat 5 or later.
- `RC4_128 = 4`: Encrypt the document using 128-bit RC4 encryption for Acrobat 5 or later.
