mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-28948 - lib - removed the hard coded key for the rc4encryt function.
This commit is contained in:
parent
f89a83b87b
commit
98456628a2
@ -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');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user