From 4fd4601ed8252dadffffb06a9aececd2ea75f788 Mon Sep 17 00:00:00 2001 From: Jim Wigginton Date: Mon, 23 Nov 2009 22:03:08 +0000 Subject: [PATCH] - rm bin2hex() call in _md2() git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@57 21d32557-59b3-4da0-833f-c5933fad653e --- phpseclib/Crypt/Hash.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Crypt/Hash.php b/phpseclib/Crypt/Hash.php index 91eb0fbf..187d2daf 100644 --- a/phpseclib/Crypt/Hash.php +++ b/phpseclib/Crypt/Hash.php @@ -49,7 +49,7 @@ * @author Jim Wigginton * @copyright MMVII Jim Wigginton * @license http://www.gnu.org/licenses/lgpl.txt - * @version $Id: Hash.php,v 1.4 2009-11-23 19:06:07 terrafrost Exp $ + * @version $Id: Hash.php,v 1.5 2009-11-23 22:03:08 terrafrost Exp $ * @link http://phpseclib.sourceforge.net */ @@ -431,7 +431,7 @@ class Crypt_Hash { } // Step 5. Output - return bin2hex(substr($x, 0, 16)); + return substr($x, 0, 16); } /**