ParagonIE_Sodium_Core_Util::memcmp

Advertisement

Syntax Syntax

ParagonIE_Sodium_Core_Util::memcmp( string $left, string $right )

Parameters Parameters

$left

(string) (Required)

$right

(string) (Required)

Return Return

(int)

Source Source

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

    public static function memcmp($left, $right)
    {
        if (self::hashEquals($left, $right)) {
            return 0;
        }
        return -1;
    }

Advertisement

Advertisement

Leave a Reply

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