com.apamax.authentication
Event Base64


Encoding and decoding support for base-64. Converts between a UTF-8 string and a base-64-encoded string.
Action summary
 stringstatic decode(string s)

Decode a string from base-64.
 stringstatic encode(string s)

Encode a string in base-64.
 
Action detail

decode

string static decode(string s)
Decode a string from base-64.
Parameters:
s - A base-64 encoded string.
Returns:
The decoded string.
Throws:
PluginException if the decoding failed.

encode

string static encode(string s)
Encode a string in base-64.
Parameters:
s - The input string.
Returns:
The string encoded in base-64.
Throws:
PluginException if the encoding failed.