Encryption/Encoding Functions

Mike Jones
Mike Jones
  • Updated

Encryption and Encoding Functions allow you to encode values flowing through your Field Pipelines.

Decode

The Decode Function decodes a value that was encoded using the Base64 encoding scheme.

Configuration:

You can configure the Node Label and Description on this function. There are no other configurable fields. The function should be connected to a node that provides a Base64 encoded text/string value.

Examples:

- Input = "c3luY2FyaQ==" / Output = "syncari"

 

Decrypt

Decrypts the given input text using the key provided. Make sure to use the key that was used to encrypt the text.

Configuration:

mceclip0.png

1. Enter a Display Name. This will be helpful with identifying the node when viewing your Entity Pipeline.

2. Enter a Description that will explain the criteria configured.

3. Enter the Decryption Key that will be used to decrypt the incoming value. 

 

Encode

The Encode function encodes the input text using the Base64 encoding scheme. It first encodes all input bytes into a base64 encoded byte array and then constructs a new string by using the encoded byte array and the ISO-8859-1 charset.

Configuration:

You can configure the Node Label and Description on this function. There are no other configurable fields. The function should be connected to a node that passes in a text/string value.

Example:

- Input = "syncari" / Output = "c3luY2FyaQ=="

 

Encrypt

The Encrypt Function encrypts a given input text using a key that is specified in the configuration.

Configuration:

mceclip1.png

1. Enter a Display Name. This will be helpful with identifying the node when viewing your Entity Pipeline.

2. Enter a Description that will explain the criteria configured.

3. Enter the Encryption Key that will be used to encrypt the incoming value. 

 

UUID

This function generates a randomly generated UUID.  The UUID is generated using a cryptographically strong pseudo random number generator.

Configuration:

You can configure the Node Label and Description on this function. There are no other configurable fields. The function will output a UUID value. Connect it to the Syncari node a destination node or a Set Value function.

Example Value:

16b4f875-6a31-4c17-b37e-9a3a94fd3812

 

URL Encode

The URL Encode function encodes characters in a URL string. 

Configuration:

You can configure the Node Label and Description on this function. There are no other configurable fields. The function should be connected to a node that provides it with a URL that needs to be encoded.

Example:

Input value,

https://www.syncari.com/?parameter=one&two

Encoded value,

https://www.syncari.com/?parameter=one%26two

 

Share this

Was this article helpful?

0 out of 0 found this helpful