The web padlock (HTTPS)
The little padlock in your browser: secret codes with every click

Trougnouf — CC BY 4.0 — Wikimedia Commons
In brief
When a website address starts with “https” and a padlock appears, the exchanges between your computer and the site are encrypted. The method was born in 1995 at Netscape, under the name SSL, then became an internet standard called TLS. Today the vast majority of web pages are protected this way.
The story
In the mid-1990s, people began shopping online. A credit card number had to be kept from being read as it travelled over the network. Netscape, which then made the most widely used browser, developed SSL. The browser and the site agree on a key using public-key cryptography, then encrypt everything else with a fast cipher.
The site also presents a certificate proving its identity, signed by a recognised authority: this is what stops you landing on a fake site. The standard, renamed TLS in 1999, has been improved several times, version 1.3 dating from 2018. Since 2015, the Let’s Encrypt initiative has provided free certificates, which helped make the padlock universal.
Did you know?
The padlock guarantees that the connection is encrypted and that you are really talking to the site shown, but not that the site is honest: always check the address.
Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.
Passwords
Diffie–Hellman key exchange
RSA
DES
Quantum cryptography
PGP
AES
End-to-end encryption