Plug-in (Function & Smart Service)Free

Base64 Expressions

by Appian Corporation

Description

Provides functions to encode/decode/convert Base64 and Hex encoded text strings

Features

decodeBase64String(base64string): Decode a base 64 string - returns only 2000 characters Returns: Text base64string (Text): A base64 encoded string

encodeBase64String(stringToEncode): Encode a short string into Base64 Returns: Text stringToEncode (Text): String to encode in Base64

decodeHexString(hexString): Decodes a hex encoded string into a character array based string Returns: Text hexString (Text): A hex encoded string

hex2base64(hexString): Returns a Base64 encoded string from a Hex encoded string Returns: Text hexString (Text): Hex string to be converted

Release notes

Updated length restrictions on plugin function parameters from 150 to 2000 characters

Version history (3)

1.2.0

Updated length restrictions on plugin function parameters from 150 to 2000 characters

1.2.0

Fixed a bug where some values generated using the encoding functions would be rejected by the decoding functions due to exceeding length limitations

1.1.0

[MIGRATED] decodeSimpleBase64(text) - decode a base64 string. Max length 150 characters. encodeSimpleBase64(text) - encode a base64 string. Max length 150 characters. decodeHexString(text) - decode a hex string. hex2base64(text) - converts hex encoded string to base64encoded string. decodeSimpleBase64 encodeSimpleBase64 decodeHexString hex2base64