To base32
Description
This operation is used to encode data into a Base32 string. Supports custom alphabets or standards (RFC4648 or Hex Extended).
Base32 is an encoding scheme that represents binary data using 32 ASCII characters. It’s commonly used in systems where case-insensitivity is beneficial or where limited character sets are required, such as Google Authenticator secrets (TOTP/HOTP), QR codes, DNS, or URLs.
Data types
These are the input/output expected data types for this operation:
Input data
- The string you want to encode.
Output data
- Resulting Base32 string.
Parameters
These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):
Alphabet
Optionally, you can enter a custom alphabet of 32 unique characters to use for encoding (for example: a-zABCDE).
Standard
This defines which character set is used for encoding. This is crucial because Base32 has multiple variants, and decoding must match the correct alphabet to yield meaningful results. Enter one of the following:
standard- Enter this to choose RFC4648 (Standard). This is the default Base32 encoding system. This is the character set:
hex- Enter this to choose Hex Extended. Designed to preserve numeric sorting order when Base32 is used. It starts with digits0–9, then continues with lettersA–V— not the same order as standard. This is the character set:
Example
Suppose you want to encode a series of events into Base32:
In your Pipeline, open the required Action configuration and select the input Field.
In the Operation field, choose To Base32.
In the Standard option, enter
standard.Give your Output field a name and click Save. The values in your input field will be encoded. For example:
You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.
Last updated
Was this helpful?

