WordPress at Your Fingertips
function is not described

sodium_crypto_kx() WP 1.0

No Hooks.

Return

String.

Usage

sodium_crypto_kx( $my_secret, $their_public, $client_public, $server_public );
$my_secret(string) (required)
-
$their_public(string) (required)
-
$client_public(string) (required)
-
$server_public(string) (required)
-

Notes

Code of sodium_crypto_kx() WP 5.8.2

function sodium_crypto_kx($my_secret, $their_public, $client_public, $server_public)
{
    return ParagonIE_Sodium_Compat::crypto_kx(
        $my_secret,
        $their_public,
        $client_public,
        $server_public
    );
}