Help for this page

Select Code to Download


  1. or download this
        sub bintodec {
            unpack("N", pack("B32", substr("0" x 32 . shift, -32)));
        }
    
  2. or download this
        sub dectobin {
            join '', unpack "B32", pack "N", shift;
        }