====== 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 =====
* Encription based on [[http://en.wikipedia.org/wiki/Advanced_Encryption_Standard|Rijndael]]
* PHP implementation of the method can be found with [[en:wascript:adjuvant:php:waencrypt|link]]
===== Examples =====
-var enc = WAEncrypt('source text', 'pass');
log(enc);
//enc = '561O6/EJRDYXWZoN|f+xhfzFP6mOO1DpcrWHWNg=='