TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

CipherDecrypt ( string crypt, string cipher, string key ) -> string plain

Optional Arguments

IgnoreErrorselt-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);

Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group