| Information | |
|---|---|
| min. EQDKP-PLUS Version | 0.7.0.0
|
The class-file is included in common.php, so there is no need to include it again.
The class is NOT initialized.
Contents |
$myCrypt = new mmocms_encrypt();
public function __construct($strEncryptionKey = '', $strKeyLength = 256){
If $strEncryptionKey is empty, the global var $encryptionKey, located in config.php, will be used.
$strEncrypted = $myCrypt->encrypt('myValue');
$strDecrypted = $myCrypt->decrypt('myEncryptedValue');