## PdfEncryptionAlgorithm enumeration

Specifies the encryption algorithm to use for encrypting a PDF document.

```csharp
public enum PdfEncryptionAlgorithm
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| RC4_40 | `0` | RC4 encryption, key length of 40 bits. |
| RC4_128 | `1` | RC4 encryption, key length of 128 bits. |

### See Also

* namespace [Aspose.Diagram.Saving](../../aspose.diagram.saving/)
* assembly [Aspose.Diagram](../../)


