WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Compat::ristretto255_scalar_random() 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_random( $dontFallback );
$dontFallback *(true false)*

Default: false

Code of ParagonIE_Sodium_Compat::ristretto255_scalar_random() WP 5.8.2

public static function ristretto255_scalar_random($dontFallback = false)
{
    if (self::useNewSodiumAPI() && !$dontFallback) {
        return sodium_crypto_core_ristretto255_scalar_random();
    }
    return ParagonIE_Sodium_Core_Ristretto255::ristretto255_scalar_random();
}