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

Function

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

Optional Arguments

IgnoreErrorselt-alg^boo (Default: FALSE) Determine whether to ignore all errors and return FAILURE instead

Description

Encrypt `plain' 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");; CipherEncrypt("clear text","AES-256-CBC",x_k);;

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