IPSec uses two distinct protocols, Authentication Header (AH) and Encapsulating Security Payload (ESP), which are defined by the IETF. … The ESP protocol provides data confidentiality (encryption) and authentication (data integrity, data origin authentication, and replay protection).