PHP.nl

sodium_crypto_scalarmult_ristretto255

sodium_crypto_scalarmult_ristretto255

Computes a shared secret

string **sodium_crypto_scalarmult_ristretto255** string $n string $p

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

nA scalar, which is typically a secret key.

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

Returns a 32-byte random string.

sodium_crypto_scalarmult_ristretto255_base