Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Encrypted data in base64 encoding

Returns

Example

Encrypt and decrypt text

Code Block
languagejs
var password = 'password123';
var textToEncrypt = 'hello';
var salt = 'salt';

var encryptedText = $Crypto.Encrypt(password, salt, textToEncrypt);

var decryptedText = $Crypto.Decrypt(password, salt, encryptedText);