WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_BLAKE2b::add64() protected WP 1.0

Adds two 64-bit integers together, returning their sum as a SplFixedArray containing two 32-bit integers (representing a 64-bit integer).

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

No Hooks.

Return

SplFixedArray.

Usage

$result = ParagonIE_Sodium_Core_BLAKE2b::add64( $x, $y );
$x(SplFixedArray) (required)
-
$y(SplFixedArray) (required)
-

Code of ParagonIE_Sodium_Core_BLAKE2b::add64() WP 5.8.3

protected static function add64($x, $y)
{
    $l = ($x[1] + $y[1]) & 0xffffffff;
    return self::new64(
        (int) ($x[0] + $y[0] + (
            ($l < $x[1]) ? 1 : 0
        )),
        (int) $l
    );
}