$__right = constant('__RIGHT_64');
$__format = constant('__FORMAT_WRITE_64');
$__step = constant('__STEP_64');
-} // END - if
+}
$str = gzcompress(file_get_contents('test.data'), 9);
$big += $add;
//print 'idx=' . $idx . ',i=' . $i . ',ord=' . $ord . ',factor=' . $factor . ',add=' . $add . ',big=' . $big . PHP_EOL;
- } // END - if
- } // END - for
+ }
+ }
$l = ($big & $__left) >>$__factor;
$r = $big & $__right;
//print 'big=' . $big . ',unpacked('.strlen($unpacked) . ')='.md5($unpacked).PHP_EOL;
$encoded .= $unpacked;
-} // END - for
+}
print 'Hash(' . strlen($encoded) . ')=' . md5($encoded) . PHP_EOL;
print 'Encoded ' . strlen($str) . ' bytes into ' . strlen($encoded) . ' bytes ...' . PHP_EOL;