WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_Ristretto255::_string_to_element() protected WP 1.0

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

No Hooks.

Return

String.

Usage

$result = ParagonIE_Sodium_Core_Ristretto255::_string_to_element( $ctx, $msg, $hash_alg );
$ctx(?string) (required)
-
$msg(string) (required)
-
$hash_alg(int) (required)
-

Code of ParagonIE_Sodium_Core_Ristretto255::_string_to_element() WP 5.8.2

protected static function _string_to_element($ctx, $msg, $hash_alg)
{
    return self::ristretto255_from_hash(
        self::h2c_string_to_hash(self::crypto_core_ristretto255_HASHBYTES, $ctx, $msg, $hash_alg)
    );
}