# Encrypting Data Log and Device

{% hint style="info" %}

#### Notes:

* For encryption software, licencing is mandatory.
  {% endhint %}

After following the steps from the section Tool Menu (Encryption Manager)

Click “Encrypt” in the device configuration.

<div align="left"><figure><img src="https://109727927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUEja6FQFpk6wbBteOsbv%2Fuploads%2FFpxB3r4yKPWNwzX4q4SR%2Fimage.png?alt=media&#x26;token=b483a216-798a-48de-85f7-614dfef3c64d" alt=""><figcaption></figcaption></figure></div>

Select the generated key.

![](https://109727927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUEja6FQFpk6wbBteOsbv%2Fuploads%2FdDs1HDKHlDQ6GYyuwOnD%2Fimage.png?alt=media\&token=676cd67d-d3cf-41a1-a04c-957ebe1241e2)

![](https://109727927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUEja6FQFpk6wbBteOsbv%2Fuploads%2Fpf3kxb9TNn1R2srjfMA8%2Fimage.png?alt=media\&token=ce626003-e001-4d90-96d6-670fe067fe5b)

Select the required encryption option.

* Enabling the “Encrypt data” log will generate encrypted log data for the updated configuration.
* Enabling “Lock Device “will lock the ReXgen device.

{% hint style="info" %}

#### Notes:

* Enable both to lock the datalogs as well as the device.
  {% endhint %}

![](https://109727927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUEja6FQFpk6wbBteOsbv%2Fuploads%2FcT8CfT9NnLkww5uUcD86%2Fimage.png?alt=media\&token=30386368-ada6-4e12-8645-7272579c5b99)

**For decrypting-** From the Encryption manager, select the  key used for encryption and click on “Use selected Key.”

![](https://109727927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUEja6FQFpk6wbBteOsbv%2Fuploads%2FG5sQM9vRWl2E5oDUHUdU%2Fimage.png?alt=media\&token=4a4a2783-62a1-4d61-b3a8-a296276abc9d)

Click “Run” to update the configuration.

<div align="left"><figure><img src="https://109727927-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUEja6FQFpk6wbBteOsbv%2Fuploads%2FsvS2zDK8yXEEkKVXHooZ%2Fimage.png?alt=media&#x26;token=1e48c18c-143a-4dd7-9aa8-08d3250fe9b2" alt=""><figcaption></figcaption></figure></div>

How to [<mark style="color:blue;">encrypt datalogs</mark>](https://app.gitbook.com/s/YNtwPTZTUk65EtDvDNhd/rexdesk/rexdesk-tutorial-videos/set-up-advanced-export-options-for-multiple-files-in-the-rexdesk-software) in ReXgen (tutorial video).
