sodium_crypto_core_ristretto255_from_hash example

/** * @param string $r * @param bool $dontFallback * @return string * * @throws SodiumException */
    public static function ristretto255_from_hash($r$dontFallback = false)
    {
        if (self::useNewSodiumAPI() && !$dontFallback) {
            return sodium_crypto_core_ristretto255_from_hash($r);
        }
        return ParagonIE_Sodium_Core_Ristretto255::ristretto255_from_hash($r);
    }

    /** * @param bool $dontFallback * @return string * * @throws SodiumException */
    public static function ristretto255_random($dontFallback = false)
    {
Home | Imprint | This part of the site doesn't use cookies.