Encryption Methods

encode

public static String encode(String textToEncode)

Encode a string using BASE64.

Parameters:

textToEncode - string to encode

Return:

The BASE64 encoded string.

decode

public static String decode(String textToEncode)

Decode a BASE64 string.

Parameters:

textToDecode - string to decode

Return:

The decoded string.

Last updated