ParagonIE_Sodium_Core_Ed25519::scalar_add() –

You appear to be a bot. Output may be restricted

Description

Usage

$string = ParagonIE_Sodium_Core_Ed25519::scalar_add( $a, $b );

Parameters

$a
( string ) required
$b
( string ) required

Returns

string

Source

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


Lines:

1 to 9 of 9
    public static function scalar_add($a, $b)
    {
        $a_ = $a . str_repeat("\x00", 32);
        $b_ = $b . str_repeat("\x00", 32);
        ParagonIE_Sodium_Compat::ParagonIE_Sodium_Compat::add($a_, $b_);
        return self::sc_reduce($a_);
    }
 

 View on GitHub View on Trac