NewHope Explained: The Lattice Key Exchange That Faced Google’s Test

NewHope explained in plain terms means understanding the key exchange that Google tested on real Chrome users in 2016, a design built on lattice mathematics that could survive a quantum computer. The central question is how a key exchange can be safe against computers that do not exist yet, and the answer is that NewHope rests on the Ring Learning With Errors problem, which is believed to be hard even for quantum machines, and that belief is the whole point of the design.

NewHope is a lattice-based key-encapsulation mechanism designed by Erdem Alkim, Léo Ducas, Thomas Pöppelmann and Peter Schwabe, and published in 2015. It lets two parties agree on a shared secret over a public channel, and it was one of the designs tested at internet scale before the NIST post-quantum standardisation chose its winners.

This article explains what NewHope is, how it works, and where it runs in the real world.

Key takeaways

  • NewHope is a lattice-based key exchange from 2015.
  • It rests on the Ring Learning With Errors problem.
  • It was tested by Google in the CECPQ1 experiment.
  • It comes in NewHope512 and NewHope1024 variants.
  • It is used in research and in post-quantum testing.

What NewHope is

NewHope is a key exchange that turns a public conversation into a shared secret, using polynomials with small random errors instead of the large-number arithmetic that RSA and elliptic curves rely on. One party sends a public key made of noisy polynomials, the other replies with a ciphertext built from the same noise, and both sides derive the same secret, which means an eavesdropper who sees everything still cannot find the secret without solving a lattice problem.

Its signature feature is the Ring Learning With Errors problem. The security of NewHope rests on the difficulty of recovering a secret polynomial from noisy samples in a polynomial ring, which means the problem is believed to be hard for both classical and quantum computers, and because that belief is shared by the whole field, the design is a serious candidate for the post-quantum world.

The design was a reaction to the quantum threat. By 2015, researchers knew that a large quantum computer would break RSA and elliptic curves, and they wanted a replacement that could be tested before it was needed, so the NewHope team built a design that was simple, fast and ready to deploy, because a replacement that arrives after the threat is a replacement that arrives too late.

It became one of the best-known post-quantum designs in the world, and it was the first to be tested on real users at scale. In 2016 Google ran the CECPQ1 experiment, combining NewHope with elliptic-curve cryptography in Chrome connections to its own servers, which means millions of real handshakes carried a lattice key exchange, and that live test was itself a mark of quality.

Its most famous property is the name. NewHope is a nod to the hope that cryptography can survive the quantum era, and the name has stuck through years of study, which is a reminder that the post-quantum field still carries the optimism of the people building it.

Our guide to post-quantum cryptography explains the field NewHope belongs to, and our guide to HQC explains the code-based finalist from the same contest.

How NewHope works

Everything starts with the ring, which is the set of polynomials modulo x to the power of 1024 plus one, with coefficients modulo 12289. The ring is the world that NewHope lives in, which means every key, every ciphertext and every secret is a polynomial in this ring, and because the ring has a fast number-theoretic transform, the arithmetic runs quickly.

Each key begins with a public polynomial, called a, that both sides agree on. One party picks a secret polynomial s and a small error polynomial e, and publishes the public key b, which is a times s plus e, which means the public key is a noisy version of a secret multiple, and because the noise is small, the owner can remove it, while an attacker cannot tell the noise from the secret.

The encapsulation is what makes the design work as a whole. The other party picks fresh secrets, combines them with the public key to produce a ciphertext and a shared secret, and sends only the ciphertext, which means the secret never travels the wire, and because the encapsulation adds its own noise, the ciphertext looks random to anyone who intercepts it.

The reconciliation spreads the effect further. The two sides’ computations differ by small error terms, so NewHope includes a reconciliation step that lets both sides agree on exactly the same secret bits despite the noise, which means the protocol tolerates errors by design, and because the reconciliation is built into the scheme, the two sides never need to talk twice.

The two variants offer different security levels. NewHope512 uses a smaller ring and offers about 128 bits of security, while NewHope1024 uses the full ring and offers about 256 bits, which means implementers can choose the size that fits their needs, and because both variants share the same design, the choice is a simple trade-off between speed and margin.

The CCA security comes from a transform that turns the basic exchange into a full key-encapsulation mechanism. The Fujisaki-Okamoto transform re-encrypts the ciphertext during decapsulation and checks that it matches, which means an attacker who tampers with the ciphertext is detected, and that check is what makes NewHope safe against active attackers, not only passive ones.

A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it
A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it, shows how NewHope works: polynomials take turns through noisy multiplications, error after error, until a shared secret emerges.

Comparing NewHope with other post-quantum designs

NewHope is one of several post-quantum key exchanges, and each was built with a different emphasis. Kyber is the lattice winner with a module structure and small keys, HQC is the code-based finalist built on error-correcting codes, and NewHope is the Ring-LWE design that was tested at scale first, while each approach trades something for something else.

The table below sets out the main contrasts between the leading approaches.

Aspect NewHope Kyber HQC
Based on Ring-LWE Module-LWE Error-correcting codes
Key size About 1 to 2 KB About 1 KB About 2 to 7 KB
NIST PQC Round 2 Winner Round 4
Tested at scale Yes, CECPQ1 Yes, later No
Best for Research and testing Standard use Code-based diversity

The practical result is that NewHope is the right choice for research and testing, Kyber suits standard use everywhere else, and HQC fits code-based diversity instead.

Where NewHope is used

Google’s experiment used it on real traffic. The CECPQ1 trial in 2016 ran NewHope alongside elliptic curves in Chrome connections to Google servers, which means millions of real users unknowingly tested lattice cryptography, and that live trial is the reason NewHope is remembered as the first post-quantum design to meet the real world.

Research uses it as a case study in lattice design. Cryptographers still cite NewHope when they discuss Ring-LWE key exchange, because it is the clearest example of the idea in a practical scheme, and that lesson shapes how new lattice designs are judged today.

Teaching uses it to show how post-quantum cryptography works. NewHope is clean enough to explain in a lecture and well documented enough to implement in an afternoon, which makes it a favourite example in cryptography courses that cover lattices and the ideas that shaped them.

Benchmarks use it to measure lattice schemes. When someone builds a new library or a new piece of hardware, NewHope is one of the designs they test, because its ring arithmetic exercises different parts of a processor than other schemes do, and a platform that runs NewHope well is likely to run most lattice schemes well.

Standards history uses it to mark the post-quantum era. NewHope was part of the NIST competition that chose the world’s post-quantum standards, and it represents the Ring-LWE path that contest explored, which means historians of the field return to it whenever they ask what quantum-safe cryptography looked like before it was standardised.

Strengths and limits

The greatest strength of NewHope is its head start. A design that was tested on millions of real connections before most post-quantum schemes left the lab carries a confidence that paper designs cannot, and that confidence is real, measured in the CECPQ1 trial and confirmed by the absence of any practical attack against the scheme.

It is also a strength that the design is simple to understand. A key exchange built from one ring, one error distribution and one reconciliation step is easy to implement, easy to analyse and easy to test, and that simplicity is worth more than cleverness in a field where hidden complexity usually means hidden flaws.

The limits are real, though, and the biggest is adoption. NewHope was not selected as the NIST standard, which means smaller communities of implementers, fewer independent reviews in recent years, and less tooling than Kyber enjoys, and a system that must interoperate will usually choose the winner instead.

NewHope checklist

  • Use NewHope for study and testing, not for new standards.
  • Remember it rests on the Ring-LWE problem.
  • Study its reconciliation step to understand noisy agreement.
  • Compare it with Kyber to see the lattice trade-off.
  • Note its two variants offer 128 or 256 bits of security.
  • Test against published test vectors before trusting any implementation.
  • Keep keys random and protect them as carefully as with any key exchange.
  • Combine it with a classical exchange during migration, as Google did.
  • Choose Kyber for any system that needs a standard today.

Frequently asked questions

What is NewHope in simple terms?

It is a key exchange built on lattice mathematics that lets two parties agree on a secret, designed to stay safe even against quantum computers.

Why is it called NewHope?

After the hope that cryptography can survive the quantum era, a name its designers chose for the first lattice exchange tested at internet scale.

How is NewHope different from Kyber?

Both are lattice designs, but NewHope is built on Ring-LWE with a single ring, while Kyber is built on Module-LWE with small keys and was chosen as the NIST standard.

Is NewHope still secure?

Yes, no practical attack against it has been published, and its design survived years of public analysis through two rounds of the NIST competition.

Where is NewHope used?

In research implementations, in teaching, and in the history of Google’s CECPQ1 experiment, wherever a tested lattice exchange is needed.

When should I use NewHope?

When you study lattice cryptography, when you test post-quantum migration, or when you want a key exchange that has already met real users.

The bottom line

NewHope explained in one line is this: the lattice exchange that met the real world first, a Ring-LWE design from 2015 that proved quantum-safe keys can run at scale.

It is proof that testing early matters, and the reason it still matters is that every post-quantum migration planned since has been judged partly by the lesson NewHope taught.

This article is general information about how NewHope works, not advice about choosing encryption for a particular device or system.

Latest articles

Scroll to Top