MosCrypto

The MosCrypto object provides access to some cryptographic functions.

Methods

The following example shows a script that converts the source string to a Base64 string:

var input = 'input string';
var bytes = MosText.utf8ToBytes(input);
var base64 = MosCrypto.toBase64String(bytes);

Last updated