ParagonIE_Sodium_Core_BLAKE2b::new64

Advertisement

Summery Summery

Turn two 32-bit integers into a fixed array representing a 64-bit integer.

Syntax Syntax

ParagonIE_Sodium_Core_BLAKE2b::new64( int $high, int $low )

Parameters Parameters

$high

(int) (Required)

$low

(int) (Required)

Return Return

(SplFixedArray)

Source Source

File: wp-includes/sodium_compat/src/Core/BLAKE2b.php

    public static function new64($high, $low)
    {
        $i64 = new SplFixedArray(2);
        $i64[0] = $high & 0xffffffff;
        $i64[1] = $low & 0xffffffff;
        return $i64;
    }

Advertisement

Advertisement

Leave a Reply

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