WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_Ed25519::scalar_add() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Core_Ed25519{}

No Hooks.

Return

String.

Usage

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

Code of ParagonIE_Sodium_Core_Ed25519::scalar_add() WP 5.8.2

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