sodium_crypto_scalarmult_ristretto255
(PHP 8 >= 8.1.1)
sodium_crypto_scalarmult_ristretto255 — Computes a shared secret
Beschreibung
$n, string $p): string
Calculates scalar n times point p.
Available as of libsodium 1.0.18.
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
Parameter-Liste
-
n -
A scalar, which is typically a secret key.
-
p -
A point (x-coordinate), which is typically a public key.
Rückgabewerte
Returns a 32-byte random String.
Siehe auch
- sodium_crypto_scalarmult_ristretto255_base() - Calculates the public key from a secret key

