MDL-28948 - lib - removed the hard coded key for the rc4encryt function.
This commit is contained in:
+2
-2
@@ -6029,7 +6029,7 @@ function get_list_of_currencies() {
|
||||
* @todo Finish documenting this function
|
||||
*/
|
||||
function rc4encrypt($data) {
|
||||
$password = 'nfgjeingjk';
|
||||
$password = get_site_identifier();
|
||||
return endecrypt($password, $data, '');
|
||||
}
|
||||
|
||||
@@ -6041,7 +6041,7 @@ function rc4encrypt($data) {
|
||||
* @todo Finish documenting this function
|
||||
*/
|
||||
function rc4decrypt($data) {
|
||||
$password = 'nfgjeingjk';
|
||||
$password = get_site_identifier();
|
||||
return endecrypt($password, $data, 'de');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user