sodium_crypto_kx

The timeline below displays how wordpress function sodium_crypto_kx has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 5.2

/**
 * @see ParagonIE_Sodium_Compat::crypto_kx()
 * @param string $my_secret
 * @param string $their_public
 * @param string $client_public
 * @param string $server_public
 * @return string
 * @throws SodiumException
 * @throws TypeError
 */
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);
}