Encryption allows for secure transmission of sensitive data over the internet. Symmetric key encryption uses the same key between two parties, while public key encryption uses a public and private key pair. Modern encryption on websites is indicated by URLs starting with "https" and a padlock icon, using protocols like TLS to securely transmit data like financial information. Hashing algorithms also play a role in encryption by generating hash values from inputs that cannot easily be reversed without the original data.