Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


base64-encode() Function (SLAX)



SLAX Syntax

Release Information

Function introduced in version 1.1 of the SLAX language, which is supported in Junos OS Release 12.2 and later releases.


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.


stringInput data string.

Return Value

stringEncoded data.

Usage Examples