sodium_crypto_kx_publickey

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

WordPress Version: 6.1

/**
 * @param string $key_pair
 * @return string
 * @throws Exception
 */
function sodium_crypto_kx_publickey($key_pair)
{
    return ParagonIE_Sodium_Compat::crypto_kx_publickey($key_pair);
}

WordPress Version: 3.1

/**
 * @param string $keypair
 * @return string
 * @throws Exception
 */
function sodium_crypto_kx_publickey($keypair)
{
    return ParagonIE_Sodium_Compat::crypto_kx_publickey($keypair);
}