Function dryoc::classic::crypto_core::crypto_scalarmult
source · Expand description
Computes a shared secret q
, given n
, our secret key, and p
, their
public key, using a Diffie-Hellman key exchange.
Compatible with libsodium’s crypto_scalarmult
.