From 952bdbb2dcfb79e398c259933a721821dddd8c9d Mon Sep 17 00:00:00 2001 From: dheeyi william Date: Thu, 4 Aug 2016 10:47:28 -0400 Subject: [PATCH] HOR-1530 Veracode: return md5($string); HOR-1578 Veracode: return md5($string); --- gulliver/system/class.bootstrap.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index 60c1f651d..417fcea00 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -7,6 +7,7 @@ */ class Bootstrap { + const hashFx = 'md5'; public static $includeClassPaths = array(); public static $includePaths = array(); protected $relativeIncludePaths = array(); @@ -2967,16 +2968,15 @@ class Bootstrap } return false; } + /** - * encryptOld - * - * @param string $string - * - * @return md5($string) - */ + * @param $string + * @return mixed + */ public function encryptOld ($string) { - return md5($string); + $consthashFx = self::hashFx; + return $consthashFx($string); } /**