====== WADecrypt ====== Returns the string decoded with specified key. ===== Syntax ===== WADecrypt = function(aText, aKey); ==== Parameters ==== * **//aText//** * //functions:// encoded string * **//aKey//** * //functions:// encryption key ==== Returned value ==== * //functions:// source string ===== Notes ===== * Encryption based on [[http://en.wikipedia.org/wiki/Advanced_Encryption_Standard|Rijndael]] * PHP implementation of the method can be found this [[en:wascript:adjuvant:php:wadecrypt|link]] ===== Examples ===== -var dec = WADecrypt('561O6/EJRDYXWZoN|f+xhfzFP6mOO1DpcrWHWNg==','pass'); log(dec); //dec = 'source text'