Identity-Based Encryption Explained: Your Email Address Is Your Public Key

Identity based encryption explained in plain terms means understanding a system where your public key is simply who you are: your email address, your name, or any string that identifies you, with no certificate to fetch and no directory to consult. The central question is how a stranger can encrypt a message for you before you have ever met, and the answer is that a trusted authority has already done the maths, and your private key is waiting for you to collect it.

In ordinary public-key cryptography, the awkward part is not the mathematics but the plumbing. Before anyone can encrypt a message for you, they need your public key, and they need proof that the key really belongs to you, which is why the world built certificate authorities, revocation lists, and all the machinery of public-key infrastructure. Identity-based encryption deletes that machinery by making the identity itself the key.

The idea is older than the internet’s certificate system, and it took nearly twenty years to make it work. This article explains what identity-based encryption is, how it works, and the one catch, key escrow, that has kept it from taking over the world.

Key takeaways

  • Identity-based encryption uses your identity, such as an email address, as your public key.
  • No certificates are needed, so there is no certificate authority to consult.
  • A private key generator issues your private key from a master secret.
  • Anyone can encrypt for you before you have even collected your key.
  • The catch is key escrow: the generator can read everything.

What identity-based encryption is

Adi Shamir proposed the idea in 1984, in the same paper that introduced the concept of a trapdoor one-way function with a twist. He imagined a system where a user’s public key could be their name or their network address, computed from public information alone, and where a trusted centre would issue the matching private key. He could describe the system clearly, but he could not build it, and the problem stayed open for seventeen years.

The breakthrough came in 2001, when Dan Boneh and Matthew Franklin built the first practical scheme using a bilinear pairing on elliptic curves. Their construction turned an identity string into a point on a curve, used the pairing to combine it with a master secret, and produced a private key that only the holder of that master secret could create. It was the first time the idea worked, and it opened a whole field of pairing-based cryptography.

The central piece is the private key generator, a trusted authority that holds a master secret and a master public key. The master public key is published for the whole world, and anyone can use it, together with your identity string, to encrypt a message for you. Your private key is derived from the master secret and your identity, and you collect it from the generator, usually after proving who you are.

Hierarchical versions extend the idea. In hierarchical identity-based encryption, a root authority can delegate to sub-authorities, so a company can run its own generator for its own domain, and a university can delegate to its departments. Each level derives keys for the level below, which makes the system scale the way organisations actually do.

Our guide to public-key infrastructure explains the certificate machinery identity-based encryption replaces, and our guide to digital signatures explains the signatures that pairing-based systems can also produce from an identity.

How identity-based encryption works

Setup happens once, at the authority. The private key generator chooses a master secret, a random number it will never reveal, and publishes a master public key derived from it, together with the public parameters of the pairing. Those parameters are enough for anyone in the world to encrypt, and they reveal nothing about the master secret.

Encryption needs only an identity string. To send a message to alice@example.com, the sender hashes that string into a point on the elliptic curve, combines it with the master public key through the pairing, and uses the result to mask the message. No lookup is needed, no certificate is fetched, and the sender does not need to know whether Alice has ever collected her key.

Key extraction happens when Alice proves who she is. She authenticates to the generator, which combines the master secret with her identity string and hands her a private key. That key is a point on the curve, mathematically tied to her identity, and it is the only key that can unmask messages encrypted for that identity.

Decryption is the pairing in reverse. Alice applies her private key to the ciphertext through the pairing, recovers the masking value, and removes it to reveal the message. The mathematics guarantees that only the key derived from her exact identity string will work, so a message for alice@example.com cannot be opened by a key for bob@example.com.

The escrow problem is built into the design. Because the generator holds the master secret, it can derive the private key for any identity, which means it can read any message sent in the system.

For a company encrypting its own employees’ mail, that is a feature, since it allows recovery and auditing. For the open internet, it is a deal-breaker, since no single authority is trusted by everyone.

A dark office desk with a sealed envelope glowing green under a lamp, an email address written on it in plain text
A dark office desk with a sealed envelope glowing green under a lamp, an email address written on it in plain text, shows how identity-based encryption works: the address on the envelope is the public key, and the private key is collected from a trusted authority.

Comparing identity-based encryption with other public-key systems

Identity-based encryption is one of several ways to solve the key distribution problem, and each was built with a different emphasis. Certificate-based public-key infrastructure binds keys to identities with signed certificates, attribute-based encryption ties decryption to properties rather than a single identity, and plain public-key encryption assumes the sender already has the right key, and each approach trades convenience for trust in a different way.

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

Aspect Identity-based Certificate-based PKI Attribute-based
Public key Any identity string Certificate from an authority A set of attributes
Key lookup needed No Yes, fetch the certificate No
Key escrow Yes, by design No Yes, key issuer can mint keys
Revocation Hard, add dates to identities Revocation lists Hard, needs re-encryption
Best for Closed organisations The open internet Shared cloud data

The practical result is that identity-based encryption is the right choice inside an organisation that already trusts its authority, certificate-based systems suit the open internet, and attribute-based encryption fits shared data with complex rules.

Where identity-based encryption is used

Corporate email is the natural home. A company can run its own private key generator, issue keys to employees as they join, and let anyone in the world encrypt mail to an employee using only their address. The company keeps the escrow ability for auditing and recovery, which is exactly what regulated industries want, and employees never manage certificates.

Device provisioning uses it at scale. A manufacturer can give each device an identity such as its serial number, and encrypt configuration or firmware for that device without ever exchanging keys with it first. The device collects its private key when it first connects, and from then on it can receive messages nobody else can read.

Emergency and military messaging adopted early designs for the same reason attribute-based systems did: the sender may not know who will receive the message, only what role they hold. Encrypting for a role string, such as duty-officer, means any holder of that role’s key can read it, which suits organisations where people rotate through roles.

Standards carry it into products. The Boneh-Franklin scheme is standardised in the Internet Engineering Task Force documents RFC 5091 and RFC 5092, and in the IEEE 1363.3 standard, which means libraries and products can implement it in an interoperable way, even if mass-market adoption has stayed modest.

Research keeps it alive. Identity-based signatures, hierarchical schemes, and identity-based key agreement are all active areas, and the pairing machinery Boneh and Franklin introduced now underpins much of modern cryptography, including some of the newest signature schemes.

Strengths and limits

The greatest strength of identity-based encryption is that it removes the certificate. There is no directory to consult, no certificate to fetch, and no expiry to check before sending, which makes it the simplest public-key system ever proposed from the sender’s point of view. A stranger can encrypt for you with nothing more than your address.

It is also a strength that keys can be created after the message is sent. A sender can encrypt today for someone who has not yet collected their key, and the recipient can decrypt tomorrow, which solves a timing problem that plagues ordinary systems.

The limits are real, though, and the biggest is escrow. The authority can read everything, and that single fact has kept identity-based encryption out of the open internet, where no authority is trusted by all parties. Revocation is also awkward, usually handled by adding dates to identity strings, and the pairing operations are slower than ordinary elliptic-curve arithmetic.

Identity-based encryption checklist

  • Use it inside one organisation, not across the open internet.
  • Guard the master secret as your most sensitive asset.
  • Add dates to identity strings so keys expire naturally.
  • Plan key recovery; the generator can reissue a lost key.
  • Audit the generator, since it can read every message.
  • Use hierarchical delegation to scale across departments.
  • Prefer standardised schemes such as Boneh-Franklin.
  • Remember the escrow trade-off before promising privacy.
  • Test the pairing library; the maths is easy to get wrong.

Frequently asked questions

What is identity-based encryption in simple terms?

It is public-key encryption where your public key is your identity, such as your email address, and a trusted authority issues the matching private key.

Who invented identity-based encryption?

Adi Shamir proposed it in 1984, and Dan Boneh and Matthew Franklin built the first practical scheme in 2001 using pairings on elliptic curves.

What is key escrow?

It is the authority’s ability to derive any user’s private key from its master secret, which means it can read any message in the system.

Can I encrypt for someone who has no key yet?

Yes. The sender needs only the recipient’s identity string and the public parameters, and the recipient can collect their private key later and decrypt.

Why is it not used everywhere?

Because of key escrow: no single authority is trusted by the whole internet, so the open web still uses certificate-based systems instead.

When should I use identity-based encryption?

Inside a closed organisation that already trusts its authority, where removing certificates simplifies everything and escrow is a feature, not a flaw.

The bottom line

Identity based encryption explained in one line is this: your name is your public key, and a trusted authority holds the master secret that mints your private key.

It is the simplest public-key system ever proposed, and the reason it never took over the internet is the same reason it works so well inside a company: somebody has to hold the master key.

This article is general information about how identity-based encryption works, not advice about choosing encryption for a particular system.

Latest articles

Scroll to Top