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

Function

CipherKey ( string password, string cipher, string digest ) -> string key, string iv

Optional Arguments

Saltelt-ord^rat (Default: ?) Determine salt to be added.
FailanyDetermines what to return in case of failure.
Countelt-ord^rat (Default: 1) Determine how often `password' is hashed under `digest'.
IgnoreErrorselt-alg^boo (Default: FALSE) Determine whether to ignore all errors and return FAILURE instead

Description

Construct a key and initialisation vector suitable for encryption.

Examples

CipherKey("sometest","AES-256-CBC","RIPEMD160");;

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