Crypto in cooperation with the Cognigy Extension provides the functionality of crypto algorithms. This tutorial will explain how to integrate encryption and decryption to a Cognigy.AI virtual agent.
Table of Contents
Install the Crypto Extension
The first step is to install the required integration. In this case, a so-called Extension is uploaded to Cognigy.AI. Thus, open the Extensions Library in another tab and download the Crypto Extension by clicking on the Download button. Now follow this installation guide and upload the Extension to Cognigy, where it will be displayed as the following:
Congrats! The installation of the Extension is finished!
Create a Hash Key
A hash key is needed for the encryption and decryption algorithms.
The Create Hash node allows you to calculate a hash key:
Select a hashing algorithm, a text to hash and a storage option:
Creates and returns a encrypted object, with the selected algorithm and hash key.
Select a encryption algorithm, a text to encrypt and use an existing hash key:
Creates and returns a decrypted object, with the selected algorithm and hash key.
To decrypt an encryped object, select the same algorithm and hash key: