MDL-28948 - lib - removed the hard coded key for the rc4encryt function.

This commit is contained in:
2011-12-16 09:14:53 +08:00
parent acb3bf8ac1
commit 177bc9c8b9
+2 -2
View File
@@ -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');
}