maxdraco

Public-key cryptography

Cryptography that uses a pair of keys: a public one you can share and a private one you keep secret.

Concept Cryptography Identity and access

In public-key cryptography each person or device has two linked keys. The public key can be handed out freely; the private key never leaves its owner. Anything locked with the public key can only be opened with the private key, and a signature made with the private key can be checked by anyone holding the public key. This lets two sides that have never met set up encrypted connections, and it underpins TLS, SSH and WireGuard.

See also

  • Encryption Scrambling data with a key so only someone holding the right key can read it.
  • Hash A calculation that turns any data into a short, fixed-length value that is always the same for the same input.
  • TLS Transport Layer Security: the encryption that protects data on its way across a network (the S in HTTPS).
  • Handshake The opening exchange of messages in which two devices agree to talk and set up how.
  • Key rotation Replacing a password, key or token with a new one and retiring the old one.
  • Offline password cracking Guessing a password by testing candidates against a stolen copy of something derived from it, away from the system it protects.
  • VPN An encrypted tunnel that joins a device to a network it isn't physically on.
  • WireGuard Simple, fast, modern VPN protocol and software.

Sources

  1. NIST CSRC Glossary: public key cryptographyNISTofficial healthy, checked 2026-11-15 archived copy
  2. Public-key cryptographyWikipedia healthy, checked 2026-11-15 archived copy