Glossary termCryptographic concept

Public-Key Cryptography

Also known as: Asymmetric cryptography, Public-key encryption

Cryptographic system that uses pairs of linked keys, one public and one private, to enable encryption and digital signatures between strangers.

Public-key cryptography, also called asymmetric cryptography, uses two related keys instead of one shared secret. The public key can be published freely, while the private key is kept secret by its owner. Data encrypted with the public key can only be decrypted with the matching private key, and data signed with the private key can be verified by anyone holding the public key. Its security rests on mathematical problems, such as factoring large numbers or computing discrete logarithms, that are easy to set up but believed to be infeasible to reverse with conventional computers.

In 1976 Whitfield Diffie and Martin Hellman published "New Directions in Cryptography", describing a way for two parties to agree on a secret key over a public channel. In 1977 Ron Rivest, Adi Shamir and Leonard Adleman devised the RSA algorithm for encryption and signatures. Cryptographers at the British signals intelligence agency GCHQ had developed similar ideas earlier, but their work remained classified until 1997. Elliptic-curve cryptography, proposed independently by two researchers in the mid-1980s, later offered equivalent security with smaller keys and is widely used.

Public-key methods solved the key distribution problem that had limited cryptography for centuries, making secure communication between strangers practical. They underpin TLS and HTTPS, digital signatures, secure email tools such as GnuPG, software updates, cryptocurrencies and end-to-end encryption. Trust in public keys is managed through certificate authorities, webs of trust or direct verification between people. Because a large quantum computer running Shor's algorithm could break RSA and elliptic-curve schemes, standards bodies have begun moving to post-quantum alternatives.

Key points

  • Each user has a public key that can be shared openly and a private key that must stay secret.
  • Diffie and Hellman published the founding public-key ideas in 1976, followed by RSA in 1977.
  • Public-key methods enable key exchange, encryption and digital signatures between parties who have never met.
  • Large quantum computers could break widely used public-key algorithms, driving the shift to post-quantum cryptography.

Related entries

Person

Whitfield Diffie

Cybersecurity

American cryptographer who, with Martin Hellman, introduced public-key cryptography and the Diffie-Hellman key exchange in 1976.

Person

Martin Hellman

Cybersecurity

American cryptographer and Stanford professor who co-invented the Diffie-Hellman key exchange and helped open cryptography to academic research.

Glossary term

Digital Signature

CybersecurityBlockchain

Cryptographic mechanism that lets anyone verify who created a digital message or file and confirm that it has not been altered since it was signed.

Glossary term

Trusted organization that issues digital certificates binding public keys to identities such as domain names, forming the basis of trust for HTTPS.

Glossary term

Transport Layer Security

CybersecurityProgramming

Cryptographic protocol that encrypts and authenticates data sent between applications over a network, most visibly securing web traffic as HTTPS.

Glossary term

Post-Quantum Cryptography

CybersecurityHardware

Cryptographic algorithms designed to remain secure against attacks by large quantum computers, replacing vulnerable public-key methods such as RSA.

Technology

GnuPG

OPSECCybersecurityFOSS

Free implementation of the OpenPGP standard for encrypting and digitally signing data and communications, developed as part of the GNU Project.

Glossary term

Encryption

CybersecurityOPSECDevOps

The process of transforming readable data into ciphertext so that only parties holding the correct key can recover and understand it.

Featured in guides

Referenced by

Other entries that discuss or point to Public-Key Cryptography.