ParagonIE_Sodium_Core_Curve25519::equal

Advertisement

Syntax Syntax

ParagonIE_Sodium_Core_Curve25519::equal( int $b, int $c )

Parameters Parameters

$b

(Required)

$c

(Required)

Return Return

(int)

Source Source

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

    public static function equal($b, $c)
    {
        return (int) ((($b ^ $c) - 1 & 0xffffffff) >> 31);
    }

Advertisement

Advertisement

Leave a Reply