PFun
/ Extensible Hash
Enter elements one at a time or seperated by comma.
Example : 1, 2, 3
Bucket Size
" class="form-control" placeholder="Bucket Size Value">
Hash Divisor
" class="form-control" placeholder="Hash Divisor Value">
" />
Element
0 && $_REQUEST["bucketsz"] > 0 && $_REQUEST["hashdiv"] > 0) { ?>
Element
Hash = Element mod
Binary
"; echo "
$element
"; echo "
" . ($element % $_REQUEST["hashdiv"]) . "
"; echo "
" .str_pad(decbin($element % $_REQUEST["hashdiv"]), ceil(log($_REQUEST["hashdiv"],2)),'0', STR_PAD_LEFT) . "
"; echo ""; } ?>