ParagonIE_Sodium_Core32_Int32::__construct

Advertisement

Summery Summery

ParagonIE_Sodium_Core32_Int32 constructor.

Syntax Syntax

ParagonIE_Sodium_Core32_Int32::__construct( array $array = array(0, 0), bool $unsignedInt = false )

Parameters Parameters

$array

(array) (Optional)

Default value: array(0, 0)

$unsignedInt

(bool) (Optional)

Default value: false

Source Source

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

    public function __construct($array = array(0, 0), $unsignedInt = false)
    {
        $this->limbs = array(
            (int) $array[0],
            (int) $array[1]
        );
        $this->overflow = 0;
        $this->unsignedInt = $unsignedInt;
    }

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.