...
Encrypted data in base64 encoding
Returns
Example
Encrypt and decrypt text
Code Block | ||
---|---|---|
| ||
var password = 'password123';
var textToEncrypt = 'hello';
var salt = 'salt';
var encryptedText = $Crypto.Encrypt(password, salt, textToEncrypt);
var decryptedText = $Crypto.Decrypt(password, salt, encryptedText); |