JCrypt::__construct
Object Constructor takes an optional key to be used for encryption/decryption. If no key is given then the secret word from the configuration object is used.
Signature
public function __construct([JCryptCipher
$cipher = null,
[JCryptKey
$key = null]] )
Parameters
-
$cipher
- The encryption cipher object.
-
$key
- The encryption key[/pair)].