Veracode: return md5($string);

HOR-1578
Veracode: return md5($string);
This commit is contained in:
dheeyi william
2016-08-04 10:47:28 -04:00
parent 41ac4364dc
commit 952bdbb2dc

View File

@@ -7,6 +7,7 @@
*/ */
class Bootstrap class Bootstrap
{ {
const hashFx = 'md5';
public static $includeClassPaths = array(); public static $includeClassPaths = array();
public static $includePaths = array(); public static $includePaths = array();
protected $relativeIncludePaths = array(); protected $relativeIncludePaths = array();
@@ -2967,16 +2968,15 @@ class Bootstrap
} }
return false; return false;
} }
/** /**
* encryptOld * @param $string
* * @return mixed
* @param string $string */
*
* @return md5($string)
*/
public function encryptOld ($string) public function encryptOld ($string)
{ {
return md5($string); $consthashFx = self::hashFx;
return $consthashFx($string);
} }
/** /**