WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_Ristretto255::scalarmult_ristretto255_base() public WP 1.0

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

No Hooks.

Return

String.

Usage

$result = ParagonIE_Sodium_Core_Ristretto255::scalarmult_ristretto255_base( $n );
$n(string) (required)
-

Code of ParagonIE_Sodium_Core_Ristretto255::scalarmult_ristretto255_base() WP 5.8.2

public static function scalarmult_ristretto255_base($n)
{
    $t = self::stringToIntArray($n);
    $t[31] &= 0x7f;
    $Q = self::ge_scalarmult_base(self::intArrayToString($t));
    $q = self::ristretto255_p3_tobytes($Q);
    if (ParagonIE_Sodium_Compat::is_zero($q)) {
        throw new SodiumException('An unknown error has occurred');
    }
    return $q;
}