MDL-28948 - lib - removed the hard coded key for the rc4encryt function.
This commit is contained in:
+2
-2
@@ -7213,7 +7213,7 @@ class emoticon_manager {
|
||||
* @return string The now encrypted data
|
||||
*/
|
||||
function rc4encrypt($data) {
|
||||
$password = 'nfgjeingjk';
|
||||
$password = get_site_identifier();
|
||||
return endecrypt($password, $data, '');
|
||||
}
|
||||
|
||||
@@ -7226,7 +7226,7 @@ function rc4encrypt($data) {
|
||||
* @return string The now decrypted data
|
||||
*/
|
||||
function rc4decrypt($data) {
|
||||
$password = 'nfgjeingjk';
|
||||
$password = get_site_identifier();
|
||||
return endecrypt($password, $data, 'de');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user