> For the complete documentation index, see [llms.txt](https://ism-docs.xnarum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ism-docs.xnarum.com/tasks/pgp/encrypt.md).

# Encrypt

This component encrypts a file with public key.

![](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image269.png)

## **Input**

&#x20;

<table><thead><tr><th width="250">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Plain File Path</td><td>The full path of the plain file</td></tr><tr><td>Encrypted File Path</td><td>The full path of the encrypted file</td></tr><tr><td>Public Key File</td><td>Public key file used to encrypt the plain file</td></tr><tr><td>Passphrase</td><td>Passphrase to use public key</td></tr></tbody></table>

&#x20;

## **Output**

&#x20;

<table><thead><tr><th width="245">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>EncryptedFile</td><td>The full path of the encrypted file</td></tr></tbody></table>
