ParagonIE_Sodium_Core_Ed25519::scalar_negate() –

You appear to be a bot. Output may be restricted

Description

Usage

$string = ParagonIE_Sodium_Core_Ed25519::scalar_negate( $s );

Parameters

$s
( string ) required

Returns

string

Source

File name: wordpress/wp-includes/sodium_compat/src/Core/Ed25519.php


Lines:

1 to 8 of 8
    public static function scalar_negate($s)
    {
        $t_ = self::L . str_repeat("\x00", 32) ;
        $s_ = $s . str_repeat("\x00", 32) ;
        ParagonIE_Sodium_Compat::sub($t_, $s_);
        return self::sc_reduce($t_);
    }
 

 View on GitHub View on Trac