What is Asymmetric (public-key) cryptography?

Cryptography with a key pair: a public key anyone may have and a private key only its owner holds. Data encrypted with the public key opens only with the private key, and signatures made with the private key are checked with the public one.

Public-key cryptography (RSA, elliptic-curve schemes) solves symmetric cryptography's key-sharing problem: you can publish a public key openly. It underpins TLS, SSH keys, code signing, email signing, DKIM and digital certificates. It is much slower than symmetric encryption, so it is mostly used to exchange keys and to sign, not to encrypt bulk data. Everything depends on the private key staying private and on trusting that a public key really belongs to who claims it, which is the job of certificates and public key infrastructure. Current schemes are expected to be breakable by large quantum computers, driving the move to post-quantum algorithms.

Source: NIST CSRC Glossary (NIST SP 1800-16B).

Practice it in a lab

Free, hands-on labs that teach Asymmetric (public-key) cryptography.

Related terms

All glossary terms

Related