WordPress at a glance
function is not described

ParagonIE_Sodium_Crypto32::scalarmult_base() public WP 1.0

ECDH over Curve25519, using the basepoint. Used to get a secret key from a public key.

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

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Crypto32::scalarmult_base( $secret );
$secret(string) (required)
-

Code of ParagonIE_Sodium_Crypto32::scalarmult_base() WP 5.7.1

<?php
public static function scalarmult_base($secret)
{
    $q = ParagonIE_Sodium_Core32_X25519::crypto_scalarmult_curve25519_ref10_base($secret);
    self::scalarmult_throw_if_zero($q);
    return $q;
}