MoneyWorks Manual
Base64Encode (text [, boolBreakLines])
Result type: text
Definition: Encodes text as a base64-encoded string. Some web services (such as Basic Authentication to REST services) require base64-encoded data.
In MoneyWorks 9 and later you can specify true
for the optional boolBreakLines parameter which will insert a CRLF every 76 characters, appropriate for SMTP-compatible Base64 encoding.
Example: Base64Encode("Hello World!")
— returns "SGVsbG8gV29ybGQh".
Availability: available within MWScript handlers.
See Also:
Base64Decode: String from a base64 encoding
Curl_Close: Finish with a CURL session
Curl_Exec: Execute a CURL session
Curl_GetInfo: Get information about a CURL transfer
Curl_Init: Start a CURL session
Curl_StrError: Get an error message from a CURL object
URLEncode: Convert url unsafe characters in a string to "%xx”