Tech

What are zero-knowledge proofs, and how can they verify your age privately?

Hacker News2 h ago
A padlock on a circuit board symbolising digital privacy
A padlock on a circuit board symbolising digital privacyPhoto: Nathan Thomas / Pexels

Governments around the world are increasingly requiring websites to verify the age of their users, from social media and gaming to adult content. The obvious way to do that, by asking people to upload identity documents, creates a privacy problem: it hands sensitive personal data to companies that may store, leak or misuse it. A cryptographic technique called the zero-knowledge proof is being promoted as a way out, and Google has published work aimed at opening the technology up more widely.

The idea sounds paradoxical at first. A zero-knowledge proof lets one party prove to another that a statement is true without revealing any information beyond the fact that it is true. Applied to age, it means a person could prove they are over a given threshold without disclosing their date of birth, their name, or anything else that would identify them.

A simple analogy helps. Imagine you need to convince a bouncer you are old enough to enter, but without showing your ID or even telling them your age. A zero-knowledge system is like a sealed process that outputs only a yes or no answer to the question are you over eighteen, while keeping every other detail hidden, even from the party checking.

The cryptography behind it is decades old, first developed by researchers in the 1980s, but it has become practical only recently as computing power and clever mathematical techniques have made the proofs fast and small enough to use at scale. That maturation is why the concept is now moving from academic papers into real products.

In an age-verification setting, the pieces typically fit together like this. A trusted issuer, such as a government or bank that already knows your date of birth, gives you a cryptographic credential. When a website asks whether you are old enough, your device uses that credential to generate a proof that answers only the age question, which the site can verify without ever seeing the underlying data.

The privacy gains are significant. The website learns only that you meet the age requirement, not who you are, and it never receives a document it could store or lose in a breach. Done well, the same approach can also prevent the issuer from tracking which sites you visit, breaking the link between your identity and your browsing.

Google's contribution, according to the announcement circulating among developers, is aimed at making these tools more open and available, so that more services can adopt privacy-preserving age checks rather than defaulting to document uploads. Opening up the technology matters because a standard only protects people if it is widely used and interoperable across platforms.

Still, zero-knowledge proofs are not a cure-all, and experts urge realism. The system depends on trusted issuers to vouch for the underlying facts, which raises questions about who plays that role and how much power it concentrates. If credentials can be shared or stolen, a proof of age says nothing about who is actually using it, and poor implementation can undermine the very guarantees the maths promises.

There are also policy questions the technology cannot answer. Whether online age verification should be mandatory at all, how it affects access to information, and how to handle people without official documents are debates about values, not cryptography. Zero-knowledge proofs can make a chosen policy more privacy-friendly, but they do not settle whether that policy is wise.

What the technology does offer is a genuine alternative to the false choice between enforcing age rules and protecting privacy. As more jurisdictions demand age checks, zero-knowledge proofs are emerging as one of the few tools that could satisfy regulators while sparing users from handing over their most sensitive information, provided they are implemented carefully and governed well.

This article is an AI-curated summary based on Hacker News. The illustration is a stock photo by Nathan Thomas from Pexels.

Read next