code: private function hashToInt(string $bytes, int $start): int
      {
          $input = substr($bytes, $start, strlen($bytes) - $start);
          $val2 = unpack('N', substr($input, 0, 4));
  
          return $val2[1];
      }
docs: @param string $bytes
  @param int    $start
  
  @return int