FunctionCipherDecrypt
(
string crypt,
string cipher,
string key
)
->
string plain
Optional Arguments
IgnoreErrors | elt-alg^boo |
(Default:
FALSE)
| Determine whether to ignore all errors and return FAILURE instead |
Description
Decrypt `crypt' using `cipher'. The `key' should have been created by `CipherKey' function and is indeed a string extended with another string.
Examples
x_k:=CipherKey("sometest","AES-256-CBC","RIPEMD160");;
x_c:=CipherEncrypt("clear text","AES-256-CBC",x_k);;
Hex(x_c);
CipherDecrypt(x_c,"AES-256-CBC",x_k);
|