WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core32_Int64::mask64() public WP 1.0

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

No Hooks.

Return

ParagonIE_Sodium_Core32_Int64.

Usage

$ParagonIE_Sodium_Core32_Int64 = new ParagonIE_Sodium_Core32_Int64();
$ParagonIE_Sodium_Core32_Int64->mask64( $hi, $lo );
$hi(int)
-
$lo(int)
-

Code of ParagonIE_Sodium_Core32_Int64::mask64() WP 5.8.2

public function mask64($hi = 0, $lo = 0)
{
    /** @var int $a */
    $a = ($hi >> 16) & 0xffff;
    /** @var int $b */
    $b = ($hi) & 0xffff;
    /** @var int $c */
    $c = ($lo >> 16) & 0xffff;
    /** @var int $d */
    $d = ($lo & 0xffff);
    return new ParagonIE_Sodium_Core32_Int64(
        array(
            $this->limbs[0] & $a,
            $this->limbs[1] & $b,
            $this->limbs[2] & $c,
            $this->limbs[3] & $d
        ),
        $this->unsignedInt
    );
}