Not the string again.
authorRoland Häder <haeder@hmmdeutschland.de>
Mon, 28 Apr 2014 15:10:25 +0000 (17:10 +0200)
committerRoland Häder <haeder@hmmdeutschland.de>
Mon, 28 Apr 2014 15:10:25 +0000 (17:10 +0200)
Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
contrib/chash/chash.php

index 83ddd2f320d26006c4d4a472a7e975ae09359c02..ed9265f38afb3585d976d65106998c3b780650ee 100644 (file)
@@ -53,7 +53,7 @@ function multipleHashString ($str) {
        // Now over-hash it
        for ($idx = 0; $idx < $totalHashes; $idx++) {
                // Over-hash the given hash
        // Now over-hash it
        for ($idx = 0; $idx < $totalHashes; $idx++) {
                // Over-hash the given hash
-               $hash = hashString($hash . $str);
+               $hash = hashString($hash);
        } // END - for
 
        // Return it
        } // END - for
 
        // Return it