Summery Summery
ECDH over Curve25519, using the basepoint.
Syntax Syntax
Description Description
Used to get a secret key from a public key.
Parameters Parameters
- $secret
-
(Required)
Return Return
(string)
Source Source
File: wp-includes/sodium_compat/src/Crypto.php
public static function scalarmult_base($secret) { $q = ParagonIE_Sodium_Core_X25519::crypto_scalarmult_curve25519_ref10_base($secret); self::scalarmult_throw_if_zero($q); return $q; }