Loading TOC...

xdmp.base64Encode

xdmp.base64Encode(
   $plaintext as String
) as String

Summary

Converts plaintext into base64-encoded string.

Parameters
$plaintext Plaintext to be encoded.

Example

xdmp.base64Encode("slings and arrows of outrageous fortune");
=> c2xpbmdzIGFuZCBhcnJvd3Mgb2Ygb3V0cmFnZW91cyBmb3J0dW5l

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments