From 0c60cb253ff32f11b35ea146777e29727d21c410 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 28 Apr 2014 14:22:35 +0200 Subject: [PATCH] Much smaller nonce means much more to calculate + logged it on success (found hash). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- contrib/chash/chash.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/chash/chash.php b/contrib/chash/chash.php index eb55f6c0..6705b960 100644 --- a/contrib/chash/chash.php +++ b/contrib/chash/chash.php @@ -3,7 +3,7 @@ error_reporting(E_ALL | E_STRICT); define('HASH_ALGO', MHASH_RIPEMD320); define('BLOCK_SIZE', 100); -define('NONCE_INCREMENT', 0.0000000001); +define('NONCE_INCREMENT', 0.0000000000000001); define('START_TIME', microtime(TRUE)); // Found hashes @@ -322,7 +322,7 @@ while (TRUE) { array_push($foundHashes, $nonceHash); // Found hash: - print ('FOUND: nonceHash=' . $nonceHash .',iter=' . $iter . PHP_EOL); + print ('FOUND: nonceHash=' . $nonceHash .',nonce=' . $nonce . ',iter=' . $iter . PHP_EOL); // Use nonceHash as next modula hash $modulaHash = $nonceHash; -- 2.39.5