"Authentication verifies that a packet received was actually sent from the sender. It also verifies the authenticity of the sender. Some of the methods used for authentication include a pre-shared key and digital certificates. Integrity is the process of ensuring that the packet contents have not been altered during transmission by a man-in-middle attack. This is done with a hashing algorithm, using protocols such as MD5 or SHA. Confidentiality is the process of encoding the message content through encryption so that data is not disclosed to unauthorized parties. Some of the encryption algorithms used to accomplish this include Data Encryption Standard (DES,) Triple-DES (3DES,) and Advanced Encryption Standard (AES)."