Rsa and diffie-hellman are two protocols that tls is capable of using for key exchange.
TLS encrypts the TCP header and payload. The packet payload stays encrypted the entire way since encryption is done in the protocol on one end system and decryption in the protocol on the other end system.
Both IPv4 and IPv6 networks use IPsec to authenticate and encrypt data packets. A packet's IP header contains IPsec protocol headers, which specify how a packet's contents are handled, including how it is delivered across a network and routed.
To know more about key exchange visit:-
https://brainly.com/question/4335377
#SPJ4