WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_SipHash::add() public WP 1.0

Add two 32 bit integers representing a 64-bit integer.

{} It's a method of the class: ParagonIE_Sodium_Core_SipHash{}

No Hooks.

Return

Array. mixed>

Usage

$result = ParagonIE_Sodium_Core_SipHash::add( $a, $b );
$a(array) (required)
-
$b(array) (required)
-

Code of ParagonIE_Sodium_Core_SipHash::add() WP 5.8.2

public static function add(array $a, array $b)
{
    /** @var int $x1 */
    $x1 = $a[1] + $b[1];
    /** @var int $c */
    $c = $x1 >> 32; // Carry if ($a + $b) > 0xffffffff
    /** @var int $x0 */
    $x0 = $a[0] + $b[0] + $c;
    return array(
        $x0 & 0xffffffff,
        $x1 & 0xffffffff
    );
}