WordPress at a glance
function is not described

ParagonIE_Sodium_Crypto32::scalarmult() public WP 1.0

ECDH over Curve25519

{} It's a method of the class: ParagonIE_Sodium_Crypto32{}

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Crypto32::scalarmult( $sKey, $pKey );
$sKey(string) (required)
-
$pKey(string) (required)
-

Code of ParagonIE_Sodium_Crypto32::scalarmult() WP 5.7.1

<?php
public static function scalarmult($sKey, $pKey)
{
    $q = ParagonIE_Sodium_Core32_X25519::crypto_scalarmult_curve25519_ref10($sKey, $pKey);
    self::scalarmult_throw_if_zero($q);
    return $q;
}