ParagonIE_Sodium_Core_SipHash::sipHash24

SummerySummery

Implements Siphash-2-4 using only 32-bit numbers.

Syntax

ParagonIE_Sodium_Core_SipHash::sipHash24( string $in, string $key )

DescriptionDescription

When we split an int into two, the higher bits go to the lower index. e.g. 0xDEADBEEFAB10C92D becomes [ 0 => 0xDEADBEEF, 1 => 0xAB10C92D ].

ParametersParameters

$in

(string) (Required)

$key

(string) (Required)

ReturnReturn

(string)

SourceSource

File: wp-includes/sodium_compat/src/Core/SipHash.php


			
Scroll to Top