diff --git a/inc/inc.Settings.php b/inc/inc.Settings.php index b19345afb..90b26ac24 100644 --- a/inc/inc.Settings.php +++ b/inc/inc.Settings.php @@ -31,7 +31,7 @@ if(!defined("SEEDDMS_INSTALL") && file_exists($settings->_configFileDir."/ENABLE /* Set an encryption key if is not set */ if(!trim($settings->_encryptionKey)) { - $settings->_encryptionKey = md5(uniqid()); + $settings->_encryptionKey = bin2hex(openssl_random_pseudo_bytes(16)); $settings->save(); }