protected static function HashURL($String) { $Check1 = MainWPUtility::StrToNum($String, 0x1505, 0x21); $Check2 = MainWPUtility::StrToNum($String, 0, 0x1003f); $Check1 >>= 2; $Check1 = $Check1 >> 4 & 0x3ffffc0 | $Check1 & 0x3f; $Check1 = $Check1 >> 4 & 0x3ffc00 | $Check1 & 0x3ff; $Check1 = $Check1 >> 4 & 0x3c000 | $Check1 & 0x3fff; $T1 = (($Check1 & 0x3c0) << 4 | $Check1 & 0x3c) << 2 | $Check2 & 0xf0f; $T2 = (($Check1 & 4294950912.0) << 4 | $Check1 & 0x3c00) << 0xa | $Check2 & 0xf0f0000; return $T1 | $T2; }