User Tools

Site Tools


Sidebar

dictionary:bitwise:base64encode

Table of Contents

Base64 Encode

The base64 encode verb is a way of encoding binary data to base64. This can be useful when needing to send binary data, such as a picture or an iTunes cover or something over a websocket or other text only pipe. It could also be useful when creating an authentication string to include with an http request or other such communication.

The verb accepts any data type as it’s default parameter and will return a text string of the base64 encoded data

Usage:

set myEncodedData to base64 encode “some binary or textual information”

write log myEncodedData

History:

  • base64 encode was added to XTension in version 9.4.32
dictionary/bitwise/base64encode.txt · Last modified: 2020/07/18 12:53 by James Sentman