# Decrypt

This component decrypts a file with private key.

!\[A picture containing text

Description automatically generated]\(<https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image270.png>)

## **Input**

&#x20;

<table><thead><tr><th width="220">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>Encrypted File Path</td><td>The full path of the encrypted file</td></tr><tr><td>Decrypted File Path</td><td>The full path of the decrypted file</td></tr><tr><td>Private Key File</td><td>Private key file used to decrypt the encrypted file</td></tr><tr><td>Passphrase</td><td>Passphrase to use private key</td></tr></tbody></table>

&#x20;

## **Output**

&#x20;

<table><thead><tr><th width="223">Attribute</th><th>Description</th></tr></thead><tbody><tr><td>DecryptedFile</td><td>The full path of the decrypted file</td></tr></tbody></table>

&#x20;

## **Example**

This example demonstrates the encryption and decryption in a flow.

<figure><img src="https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image271.png" alt=""><figcaption></figcaption></figure>

### Encrypt

| Input                                                                                                                                                                            | Output                                                                            |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| ![Graphical user interface, text, application, email&#xA;&#xA;Description automatically generated](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image272.png) | ![](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image273.png) |

### Decrypt

| Input                                                                             | Output                                                                            |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| ![](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image274.png) | ![](https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image275.png) |

This picture shows the contents of the files.

<figure><img src="https://support.xnarum.com/download/manuals/ISM-Manual-2023.fld/image276.png" alt=""><figcaption></figcaption></figure>
