---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/encryptionalgorithm
---

# EncryptionAlgorithm

## Overview

`EncryptionAlgorithm` is a type in Aspose.PDF FOSS for Go.
Inherits from: `int`.

EncryptionAlgorithm selects the cipher and security-handler revision used by (*Document).SetEncryption.

This type is part of the public API of Aspose.PDF FOSS for Go.
It appears among the other exported types in the package alongside EncryptionAlgorithm in your Go application.

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)