Skip to main content

Base64Encode

Base64Encode (inputStr)

The Base64Encode function returns a copy of inputStr encoded as Base64.

The algorithm used to encode Base64-encoded data is defined in RFC 4648 (http://www.ietf.org/rfc/rfc4648.txt).

For an explanation of Base64 encoding, see https://en.wikipedia.org/wiki/Base64.

The Base64Encode function was added in Igor Pro 8.00.

Example

String theString = "Igor is great!"
Print Base64Encode(theString)
SWdvciBpcyBncmVhdCE=

See Also

Base64Decode, URLRequest