WAEncrypt
Returns a source string encoded with specified key.
Syntax
WAEncrypt = function(aText, aKey);
Parameters
- aText
- functions: source string
- aKey
- functions: encryption key
Returned value
- functions: encoded string
Notes
Examples
var enc = WAEncrypt('source text', 'pass'); log(enc); //enc = '561O6/EJRDYXWZoN|f+xhfzFP6mOO1DpcrWHWNg=='