DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk2 min

Alice and Bob: What the Names Mean in Cryptography

Alice and Bob are conventional fictional names for parties in cryptography examples. They make protocol roles easier to follow but are not a security guarantee.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Alice and Bob are fictional stand-ins for participants in examples of cryptographic and other security protocols. Their names make it easier to follow who sends, receives, or processes a message. They identify roles in an example; they do not show that a protocol is secure.

What do Alice and Bob mean?

In a protocol example, Alice and Bob usually represent two parties communicating with one another. A writer can describe what each party sends or receives without repeatedly inventing new identities. As RFC 4949, the Internet Security Glossary, Version 2, puts it, they are “the parties that are most often called upon to illustrate the operation of bipartite security protocols.” The glossary notes that its definitions are the author’s, not an official IETF position.

As an Amazon Associate I earn from qualifying purchases.

The names are labels, not fixed technical roles. Depending on the example, Alice might initiate a message or establish a key, while Bob receives it or takes part in the same exchange. Read the protocol description to learn what each one does.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Where are the names used?

Cryptographic protocols and key establishment

Standards-related material uses Alice and Bob to explain key establishment, including examples involving key-encapsulation mechanisms (KEMs). NIST’s glossary entry for Alice and Bob gives examples drawn from cited standards; each definition should be understood in the context of the standard it references.

Quantum key distribution

The same names also appear in explanations of quantum key distribution, where they serve as fictional participants in an exchange. A 2004 NIST explainer is one example. The names make the scenario easier to follow; they are not actual people.

Who else appears in these examples?

When a scenario needs more than two roles, authors may add other conventional names. The Jargon File lists examples such as:

  • Eve: an eavesdropper who observes a communication.
  • Mallory: a malicious active attacker who may interfere with messages.
  • Trent: a trusted arbitrator.
  • Peggy: a prover.
  • Victor: a verifier.

These are explanatory mnemonics, not roles that every protocol must include. Their meanings depend on the scenario being described.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do Alice and Bob mean that a protocol is secure?

No. Giving parties familiar names only makes an example easier to read. It does not establish that the protocol protects messages, authenticates participants, or meets any other security goal. Those conclusions depend on the protocol’s design and assumptions, which must be assessed separately.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How did Alice and Bob become standard examples?

Their exact first use is not established by the sources cited here, so a definitive inventor or origin date cannot be given. The Jargon File notes that Bruce Schneier’s Applied Cryptography, second edition (1996), included a table of cryptographic dramatis personae headed by Alice and Bob. That supports saying the book helped popularize the cast, not that it introduced the names.

For a broader reference, Schneier’s Applied Cryptography, second edition, is an optional follow-up; the Jargon File discusses its role in popularizing the dramatis personae: Jargon File: “Alice and Bob”.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.