WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Compat::ristretto255_scalar_reduce() public WP 1.0

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

No Hooks.

Return

String.

Usage

$result = ParagonIE_Sodium_Compat::ristretto255_scalar_reduce( $s, $dontFallback );
$s(string) (required)
-
$dontFallback *(true false)*

Default: false

Code of ParagonIE_Sodium_Compat::ristretto255_scalar_reduce() WP 5.8.2

public static function ristretto255_scalar_reduce($s, $dontFallback = false)
{
    if (self::useNewSodiumAPI() && !$dontFallback) {
        return sodium_crypto_core_ristretto255_scalar_reduce($s);
    }
    return ParagonIE_Sodium_Core_Ristretto255::sc_reduce($s);
}