public static function sipHash24($in,
$key) { $inlen = self::
strlen($in);
# /* "somepseudorandomlygeneratedbytes" */
# u64 v0 = 0x736f6d6570736575ULL;
# u64 v1 = 0x646f72616e646f6dULL;
# u64 v2 = 0x6c7967656e657261ULL;
# u64 v3 = 0x7465646279746573ULL;
$v = array
( new ParagonIE_Sodium_Core32_Int64( array
(0x736f, 0x6d65, 0x7073, 0x6575
) ),
new ParagonIE_Sodium_Core32_Int64( array
(0x646f, 0x7261, 0x6e64, 0x6f6d
) ),
new ParagonIE_Sodium_Core32_Int64( array
(0x6c79, 0x6765, 0x6e65, 0x7261
) ),
new ParagonIE_Sodium_Core32_Int64( array
(0x7465, 0x6462, 0x7974, 0x6573
) ) );