PHP 8.0.26 Released!

sodium_crypto_scalarmult_ristretto255

(PHP 8 >= 8.1.1)

sodium_crypto_scalarmult_ristretto255Computes a shared secret

Description

sodium_crypto_scalarmult_ristretto255(string $n, string $p): string

Calculates scalar n times point p. Available as of libsodium 1.0.18.

Avertissement

Cette fonction est actuellement non documentée ; seule la liste des arguments est disponible.

Liste de paramètres

n

A scalar, which is typically a secret key.

p

A point (x-coordinate), which is typically a public key.

Valeurs de retour

Returns a 32-byte random chaîne de caractères.

Voir aussi

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top