crypto_kx_server_session_keys example


}
if (!is_callable('sodium_crypto_kx_server_session_keys')) {
    /** * @param string $server_key_pair * @param string $client_key * @return array{0: string, 1: string} * @throws SodiumException */
    function sodium_crypto_kx_server_session_keys($server_key_pair$client_key)
    {
        return ParagonIE_Sodium_Compat::crypto_kx_server_session_keys($server_key_pair$client_key);
    }
}
if (!is_callable('sodium_crypto_kx_secretkey')) {
    /** * @param string $key_pair * @return string * @throws Exception */
    function sodium_crypto_kx_secretkey($key_pair)
    {
        return ParagonIE_Sodium_Compat::crypto_kx_secretkey($key_pair);
    }
Home | Imprint | This part of the site doesn't use cookies.