====== WADecrypt ====== Returns the string decoded with specified key. ===== Syntax ===== function WADecrypt(aText: string; aKey: string): string; ==== Parameters ==== * **//aText//** * //type:// string * //functions:// encoded string * **//aKey//** * //type:// string * //functions:// encryption key ==== Returned value ==== * //type:// string * //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'); //dec = 'source text'