bw:encryptdecrypt_tool

This is an old revision of the document!


Introduction (Encryption)

This page describes the use of the Bizweaver Encrypt Decrypt Tool.

Encrypt Decrypt Tool

The encryption tool is best used to encrypt data from a source (AWS, Versago) to your database. The functionality is used to store sensitive data in a database, or a file encrypted. The tool will take your input string and hash/encrypt it with a key you create so the only way to view it in clear text will be to decrypt it with the same key.

Basic Configuration Steps

A encryption step can be added at any time to a workflow. The following is an example of how information can be encrypted from a database.

This example is just to illustrate how the tool works and not the actual functionality of the tool in its entirety.

Below is an image of the workflow that is being used you can see there is a SQL, Encrypt, Variable, Decrypt, Variable steps. The last variable is only there so we can view both variables before the workflow ends.

The first step is to get the data needed to encrypt this can be pulled from any source you choose. In the following image you will see that we are using a simple SQL step to pull in one record to encrypt it.

EncryptDecryptImage2

The next step is to pass that into the Encryption tool

  • Text - this is the information you are passing into the tool.
    • You can use step and user variables if you wish to pass them through to be encrypted.
  • Encryption / Decryption Key - This is a key you assign it can be anything you wish.
    • to make it secure it is recommended that the key is a mix of upper-case and lower-case characters, and numbers
  • Command - This determines if you want to encrypt or decrypt the data.
    • 0 to Encrypt
    • 1 to Decrypt

EncryptDecryptImage3

Next, pass the output step variable “Value” from the encryption tool into a variable tool to store our value. This is just to illustrate the hashed value or encryption of the initial data. Below is an image of the value when we run the workflow in test mode.

EncryptDecryptImage4

Now we will step through the decryption of the value just encrypted. Take the variable from the prior step and pass it into a encrypt decrypt tool as the “Text” feild to be decrypted. The key will be the same key that was used to encrypted the data, and command will be 1 for decrypt.

EncryptDecryptImage5

Now to see the results we will run the workflow in test mode and view the variable that has been decrypted.

EncryptDecryptImage6

bw/encryptdecrypt_tool.1575399122.txt.gz · Last modified: 2019/12/03 13:52 by akoehler