Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Asymmetric encryption uses a mathematically linked key pair: a public key anyone may hold and a private key that never leaves its owner. It solves key distribution and makes digital signatures possible.

What Is Asymmetric Encryption?
Two people who have never met need to exchange a secret over a network that everyone can read. Symmetric ciphers cannot help, because they assume a shared key already exists. Asymmetric encryption, also called public key cryptography, solves the problem with a pair of mathematically related keys: the public key may be printed on a billboard, while the private key never leaves the machine that generated it. Data encrypted with one can only be undone with the other.
Whitfield Diffie and Martin Hellman set out the idea in 1976, and Ron Rivest, Adi Shamir, and Leonard Adleman published the first practical construction, RSA, in 1977. British cryptographers at GCHQ had reached equivalent results several years earlier, but the work stayed classified until 1997.
Every scheme rests on a problem that is easy in one direction and hard in reverse. RSA multiplies two large primes; recovering them from the product is the integer factorisation problem. Diffie–Hellman and elliptic curve cryptography rely on the discrete logarithm problem: exponentiation is cheap, and reversing it is not. None of these problems is proven hard, which is why key sizes grow as computers and algorithms improve.
| Security level | RSA modulus | Elliptic curve | Notes |
|---|---|---|---|
| 112 bits | 2048 bits | 224 bits | The current public web minimum |
| 128 bits | 3072 bits | 256 bits | P-256, X25519, Ed25519 |
| 192 bits | 7680 bits | 384 bits | P-384, used in high-assurance suites |
The size difference is the reason the industry has largely moved to curves. An X25519 key exchange is faster than RSA-3072, uses a fraction of the bandwidth, and produces smaller certificates, which matters on constrained devices and on mobile networks. RSA survives because of inertia, hardware support, and the enormous installed base of code that knows how to parse it.
Public key operations are hundreds of times slower than AES, and RSA can only encrypt a payload smaller than its modulus. Real systems therefore use hybrid encryption: generate a random symmetric key, encrypt the data with AES, encrypt the symmetric key with the recipient’s public key, and send both. TLS 1.3 goes further and uses an ephemeral Diffie–Hellman exchange rather than RSA key transport, so that recording the traffic today and stealing the server key tomorrow does not reveal past sessions. That property is called forward secrecy.
Signing reverses the roles: the private key produces a value over a hash of the message, and anyone with the public key can verify it. That single mechanism underpins TLS server authentication, software update verification, email signing with S/MIME, SSH authentication, and the whole of certificate chain validation.
The algorithms rarely fail; the padding and the plumbing do.
Shor’s algorithm breaks factorisation and discrete logarithms alike, so a cryptographically relevant quantum computer would retire RSA and elliptic curves together while leaving AES largely intact. NIST published the first replacement standards in August 2024, and the NCSC expects UK organisations to complete migration by 2035. Start with an inventory of where public key cryptography is used, because you cannot replace what you have not catalogued. Our infrastructure and architecture review services include that discovery work.
It depends on the goal. For confidentiality the sender encrypts with the recipient’s public key, and only the recipient’s private key can decrypt. For authenticity the signer uses their own private key, and anyone can verify with the public key. The same key pair should not be reused for both purposes in a well-designed protocol.
Not yet, but it is in slow retirement. RSA-2048 remains acceptable for signatures and certificates today, and most browsers still accept it. New designs should prefer elliptic curves for speed and size, and every long-lived system should plan for post-quantum replacements. RSA-1024 is already unacceptable and should be removed wherever it is still in use.
Because each does one job well. An asymmetric exchange authenticates the server and establishes a shared secret over an untrusted network, which symmetric cryptography cannot do alone. The connection then switches to AES or ChaCha20 for the data, because symmetric ciphers handle gigabytes at a cost public key operations could never match.
Public TLS certificates are capped by the CA/Browser Forum and are heading towards 47 days by 2029, with automated reissuance. Internal signing keys often live for years, which makes their storage and rotation plan far more important. Any key that cannot be rotated quickly is a liability, so build the replacement path before you need it.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.