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

This commit is contained in:
2011-12-16 09:27:10 +08:00
parent 485cb391de
commit 75366c60ff
+2 -2
View File
@@ -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');
}