for ($idx = 0; $idx < ($GLOBALS['hash_cycles'] - 1); $idx++) {
// Over-hash the given hash
$hash = hashString($hash);
- } // END - for
+ }
// Return it
return $hash;
for ($idx = 0; $idx < (strlen($decode) / 2); $idx++) {
// And add it
$sum = $sum + hexdec(substr($decode, $idx, 2));
- } // END - for
+ }
// And return it
//* NOISY-DEBUG: */ printf('[%s:%d]: sum=%d - EXIT!' . PHP_EOL, __FUNCTION__, __LINE__, $sum);
$GLOBALS['current_hash'] = $data[9];
$GLOBALS['root_hash'] = $data[10];
$GLOBALS['found_hashes'] = json_decode(gzuncompress(base64_decode($data[11])), TRUE);
- } // END - if
+ }
}