CRYPTO Base64 encode function

The CRYPTO Base64 encode function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Crypto functionality to encode text to Base64.

For a full list of available functions, please read CRYPTO functions.


Description

The Base64 encode function converts text into Base64 encoding. Base64 is commonly used to embed binary or special-character data in JSON, XML, or URLs.


Setting it up

To use the Base64 encode function, follow these instructions:

{{popups:rpas/add:action=crypto-base64-encode}}

Once on a process map:

  1. Navigate to the process where you would like to add the Base64 encode function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the CRYPTO Base64 encode option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
TextYesText-The text to encode
VariableNoTextencodedVariable name to store the encoded result

Output variables

VariableTypeDescription
{encoded}StringThe Base64-encoded text

Errors

This action does not produce errors.


Tips

  • Useful for embedding binary data in JSON or XML payloads
  • Base64 is encoding, not encryption – it does not provide security

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.