base64-encode() Function (SLAX)
Namespaces
http://xml.libslax.org/slax
SLAX Syntax
string slax:base64-encode(string)
Description
Encode a string of data in the BASE64 encoding format. BASE64 is a means of encoding arbitrary data into a radix-64 format that is more easily transmitted, typically using STMP or HTTP.
Parameters
string |
Input data string. |
Return Value
string |
Encoded data. |
Usage Examples
var $encoded-data = slax:base64-encode($real-data);
Release Information
Function introduced in version 1.1 of the SLAX language, which is supported in Junos OS Release 12.2 and later releases.