Encryption transforms plain text into cipher text using encryption algorithms and keys to provide confidentiality, integrity, and authenticity of messages. Modern encryption uses both symmetric encryption with private keys and asymmetric encryption with public/private key pairs. Transport Layer Security (TLS) and Secure Sockets Layer (SSL) provide encrypted communication over the internet using technologies like digital certificates, the Diffie-Hellman key exchange, and algorithms like RSA and AES.