WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Compat::scalarmult_ristretto255() public WP 1.0

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

No Hooks.

Return

String.

Usage

$result = ParagonIE_Sodium_Compat::scalarmult_ristretto255( $n, $p, $dontFallback );
$n(string) (required)
-
$p(string) (required)
-
$dontFallback *(true false)*

Default: false

Code of ParagonIE_Sodium_Compat::scalarmult_ristretto255() WP 5.8.2

public static function scalarmult_ristretto255($n, $p, $dontFallback = false)
{
    if (self::useNewSodiumAPI() && !$dontFallback) {
        return sodium_crypto_scalarmult_ristretto255($n, $p);
    }
    return ParagonIE_Sodium_Core_Ristretto255::scalarmult_ristretto255($n, $p);
}