ParagonIE_Sodium_Core32_Int32::mask() –

You appear to be a bot. Output may be restricted

Description

Usage

$ParagonIE_Sodium_Core32_Int32 = ParagonIE_Sodium_Core32_Int32::mask( $m );

Parameters

$m
( int ) optional

Returns

ParagonIE_Sodium_Core32_Int32

Source

File name: wordpress/wp-includes/sodium_compat/src/Core32/Int32.php


Lines:

1 to 18 of 18
    public function mask($m = 0)
    {
        
/** @var int $hi */
        $hi = ((int) $m >> 16);
        $hi &= 0xffff;
        
/** @var int $lo */
        $lo = ((int) $m) & 0xffff;
        return new ParagonIE_Sodium_Core32_Int32(
            array(
                (int) ($this->limbs[0] & $hi),
                (int) ($this->limbs[1] & $lo)
            ),
            $this->unsignedInt
        );
    }
 

 View on GitHub View on Trac