From Surf Wiki (app.surf) — the open knowledge base
Alice and Bob
Characters used in cryptography and science literature
Characters used in cryptography and science literature

Alice and Bob are fictional characters commonly used as placeholders in discussions about cryptographic systems and protocols, and in other science and engineering literature where there are several participants in a thought experiment. The Alice and Bob characters were created by Ron Rivest, Adi Shamir, and Leonard Adleman in their 1978 paper "A Method for Obtaining Digital Signatures and Public-key Cryptosystems". Subsequently, they have become common archetypes in many scientific and engineering fields, such as quantum cryptography, game theory and physics. As the use of Alice and Bob became more widespread, additional characters were added, sometimes with particular meanings. These characters do not have to refer to people; they refer to generic agents which might be different computers or even different programs running on a single computer.
Overview
Alice and Bob are the names of fictional characters used for convenience and to aid comprehension. For example, "How can Bob send a private message M to Alice in a public-key cryptosystem?" is believed to be easier to describe and understand than if the hypothetical people were simply named A and B as in "How can B send a private message M to A in a public-key cryptosystem?"
The names are conventional, and where relevant may use an alliterative mnemonic such as "Mallory" for "malicious" to associate the name with the typical role of that person.
History
Scientific papers about thought experiments with several participants often used letters to identify them: A, B, C, etc.
The first mention of Alice and Bob in the context of cryptography was in Rivest, Shamir, and Adleman's 1978 article "A method for obtaining digital signatures and public-key cryptosystems." They wrote, "For our scenarios we suppose that A and B (also known as Alice and Bob) are two users of a public-key cryptosystem". Previous to this article, cryptographers typically referred to message senders and receivers as A and B, or other simple symbols. In fact, in the two previous articles by Rivest, Shamir, and Adleman, introducing the RSA cryptosystem, there is no mention of Alice and Bob. The choice of the first three names may have come from the film Bob & Carol & Ted & Alice.
Within a few years, however, references to Alice and Bob in cryptological literature became a common trope. Cryptographers would often begin their academic papers with reference to Alice and Bob. For instance, Michael Rabin began his 1981 paper, "Bob and Alice each have a secret, SB and SA, respectively, which they want to exchange." Early on, Alice and Bob were starting to appear in other domains, such as in Manuel Blum's 1981 article, "Coin Flipping by Telephone: A Protocol for Solving Impossible Problems," which begins, "Alice and Bob want to flip a coin by telephone."
Although Alice and Bob were invented with no reference to their personality, authors soon began adding colorful descriptions. In 1983, Blum invented a backstory about a troubled relationship between Alice and Bob, writing, "Alice and Bob, recently divorced, mutually distrustful, still do business together. They live on opposite coasts, communicate mainly by telephone, and use their computers to transact business over the telephone." In 1984, John Gordon delivered his famous "After Dinner Speech" about Alice and Bob, which he imagines to be the first "definitive biography of Alice and Bob."
In addition to adding backstories and personalities to Alice and Bob, authors soon added other characters, with their own personalities. The first to be added was Eve, the "eavesdropper." Eve was invented in 1988 by Charles Bennet, Gilles Brassard, and Jean-Marc Robert, in their paper, "Privacy Amplification by Public Discussion." In Bruce Schneier's book Applied Cryptography, other characters are listed.
Cast of characters
Cryptographic systems
The most common characters are Alice and Bob. Eve, Mallory, and Trent are also common names, and have fairly well-established "personalities" (or functions). The names often use alliterative mnemonics (for example, Eve, "eavesdropper"; Mallory, "malicious") where different players have different motives. Other names are much less common and more flexible in use. Sometimes the genders are alternated: Alice, Bob, Carol, Dave, Eve, etc.
| Alice and Bob | Carol, Carlos or Charlie | Chuck or Chad | Craig | Dan, Dave or David | Erin | EveEve or Yves | Faythe | Frank | Grace | Heidi | Ivan | Judy | MalloryMalletTrudyMallory or (less commonly) Mallet or Darth | Michael or Mike | Niaj | Olivia | Oscar | Peggy or Pat | Rupert | Sybil | Trent or Ted | Trudy | Victor or Vanna | Walter | Wendy |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| The original, generic characters. Generally, Alice and Bob want to exchange a message or cryptographic key. | |||||||||||||||||||||||||
| A generic third participant. | |||||||||||||||||||||||||
| A third participant, usually of malicious intent. | |||||||||||||||||||||||||
| A password cracker, often encountered in situations with stored passwords. | |||||||||||||||||||||||||
| A generic fourth participant. | |||||||||||||||||||||||||
| A generic fifth participant, but rarely used, as "E" is usually reserved for Eve. | |||||||||||||||||||||||||
| An eavesdropper, who is usually a passive attacker. While they can listen in on messages between Alice and Bob, they cannot modify them. In quantum cryptography, Eve may also represent the environment. | |||||||||||||||||||||||||
| A trusted advisor, courier or intermediary. Faythe is used infrequently, and is associated with faith and faithfulness. Faythe may be a repository of key service or courier of shared secrets. | |||||||||||||||||||||||||
| A generic sixth participant. | |||||||||||||||||||||||||
| A government representative. For example, Grace may try to force Alice or Bob to implement backdoors in their protocols. Grace may also deliberately weaken standards. | |||||||||||||||||||||||||
| A mischievous designer for cryptographic standards, but rarely used. | |||||||||||||||||||||||||
| An issuer, mentioned first by Ian Grigg in the context of Ricardian contracts. | |||||||||||||||||||||||||
| A judge who may be called upon to resolve a potential dispute between participants. See Judge Judy. | |||||||||||||||||||||||||
| A malicious attacker. Associated with Trudy, an intruder. Unlike the passive Eve, Mallory is an active attacker (often used in man-in-the-middle attacks), who can modify messages, substitute messages, or replay old messages. The difficulty of securing a system against a Mallory is much greater than against an Eve. | |||||||||||||||||||||||||
| Used as an alternative to the eavesdropper Eve, from microphone. | |||||||||||||||||||||||||
| Used as an alternative to the eavesdropper Eve in several South Asian nations. | |||||||||||||||||||||||||
| An oracle, who responds to queries from other participants. Olivia often acts as a "black box" with some concealed state or information, or as a random oracle. | |||||||||||||||||||||||||
| An opponent, similar to Mallory, but not necessarily malicious. | |||||||||||||||||||||||||
| A prover, who interacts with the verifier to show that the intended transaction has actually taken place. Peggy is often found in zero-knowledge proofs. | |||||||||||||||||||||||||
| A repudiator who appears for interactions that desire non-repudiation. | |||||||||||||||||||||||||
| A pseudonymous attacker, who usually uses a large number of identities. For example, Sybil may attempt to subvert a reputation system. See Sybil attack. | |||||||||||||||||||||||||
| A trusted arbitrator, who acts as a neutral third party. | |||||||||||||||||||||||||
| An intruder. | |||||||||||||||||||||||||
| A verifier, who requires proof from the prover. | |||||||||||||||||||||||||
| A warden, who may guard Alice and Bob. | |||||||||||||||||||||||||
| A whistleblower, who is an insider with privileged access capable of divulging information. |
Interactive proof systems
For interactive proof systems there are other characters:
| Arthur and Merlin | Paul and Carole | Arthur and Bertha |
|---|---|---|
| Merlin provides answers, and Arthur asks questions. Merlin has unbounded computational ability (like the wizard Merlin). In interactive proof systems, Merlin claims the truth of a statement, and Arthur (like King Arthur), questions him to verify the claim. | ||
| Paul asks questions, and Carole provides answers. In the solution of the Twenty Questions problem, Paul (standing in for Paul Erdős) asked questions and Carole (an anagram of "oracle") answered them. Paul and Carole were also used in combinatorial games, in the roles of pusher and chooser. | ||
| Arthur is the "left", "black", or "vertical" player, and Bertha is the "right", "white", or "horizontal" player in a combinatorial game. Additionally, Arthur, given the same outcome, prefers a game to take the fewest moves, while Bertha prefers a game to take the most moves. |
Physics
The names Alice and Bob are often used to name the participants in thought experiments in physics. More alphabetical names, usually of alternating gender, are used as required, e.g. "Alice and Bob (and Carol and Dick and Eve)".
In experiments involving robotic systems, the terms "Alice Robot" and "Bob Robot" refer to mobile platforms responsible for transmitting quantum information and receiving it with quantum detectors, respectively, within the context of the field of quantum robotics.
References
References
- (1978-02-01). "A Method for Obtaining Digital Signatures and Public-key Cryptosystems". Communications of the ACM.
- Newton, David E.. (1997). "Encyclopedia of Cryptography". Instructional Horizons, Inc.
- (April 1977). "On Digital Signatures and Public-Key Cryptosystems". Massachusetts Institute of Technology.
- (September 20, 1983). "Cryptographic Communications System and Method".
- Brown, Bob. (7 February 2005). "Security's inseparable couple: Alice & Bob".
- Rabin, Michael O.. (1981). "How to exchange secrets with oblivious transfer". Aiken Computation Lab, Harvard University.
- Blum, Manuel. (November 10, 1981). "Coin Flipping by Telephone a Protocol for Solving Impossible Problems". ACM SIGACT News.
- (1983). "How to exchange (Secret) keys". ACM Transactions on Computer Systems.
- (April 2008). "Visualization of cryptographic protocols with GRACE". Journal of Visual Languages & Computing.
- Gordon, John. (April 1984). "The Alice and Bob After Dinner Speech".
- (1988). "Privacy Amplification by Public Discussion". SIAM Journal on Computing.
- Schneier, Bruce. (2015). "Applied Cryptography: Protocols, Algorithms and Source Code in C". John Wiley & Sons.
- (2017). "Efficient multiuser quantum cryptography network based on entanglement". Scientific Reports.
- Tanenbaum, Andrew S.. (2007). "Distributed Systems: Principles and Paradigms". [[Pearson Prentice Hall]].
- (2020). "Contact Tracing Mobile Apps for COVID-19: Privacy Considerations and Related Trade-offs".
- (2017). "Advances in Cryptology – EUROCRYPT 2017". University of Pennsylvania and INRIA, CNRS, University of Lorraine.
- Grigg, Ian. (2002-11-24). "Ivan The Honourable".
- Szabo, Nick. (September 1997). "Formalizing and Securing Relationships on Public Networks". First Monday.
- Schneier, Bruce. (2010-09-23). "Who are Alice & Bob?".
- "A Collaborative Access Control Framework for Online Social Networks".
- Lund, Carsten. (1992). "Algebraic Methods for Interactive Proof Systems". Journal of the ACM.
- (April 1988). "Arthur-Merlin games: A randomized proof system, and a hierarchy of complexity classes". [[Journal of Computer and System Sciences]].
- (1992). "Three Thresholds for a Liar". Combinatorics, Probability and Computing.
- Muthukrishnan, S.. (August 2023). "Data Streams: Algorithms and Applications". Now Publishers.
- Conway, John Horton. (2000). "On Numbers and Games". CRC Press.
- (16 April 2013). "Alice and Bob communicate without transferring a single photon".
- (2013-02-07). "Nonlinear Time Reversal in a Wave Chaotic System". Physical Review Letters.
- David Mermin, N.. (5 March 2000). "209: Notes on Special Relativity".
- Farbod Khoshnoud, Lucas Lamata, Clarence W. De Silva, Marco B. Quadrelli, [https://arxiv.org/ftp/arxiv/papers/2007/2007.15249.pdf Quantum Teleportation for Control of Dynamic Systems and Autonomy], [https://www.actapress.com/PaperInfo.aspx?paperId=47550 Journal of Mechatronic Systems and Control, Volume 49, Issue 3, pp. 124-131, 2021].
- (12 October 2021). "Quantum Mechatronics". Electronics.
- Farbod Khoshnoud, Maziar Ghazinejad, Automated quantum entanglement and cryptography for networks of robotic systems, IEEE/ASME International Conference on Mechatronic and Embedded Systems and Applications (MESA), IDETC-CIE 2021, Virtual Conference: August 17 – 20, DETC2021-71653, 2021.
- (23 April 2021). "Modernizing Mechatronics course with Quantum Engineering". ASEE Conferences.
- (April 2019). "Quantum Network of Cooperative Unmanned Autonomous Systems". Unmanned Systems.
- Farbod Khoshnoud, Marco B. Quadrelli, Enrique Galvez, Clarence W. de Silva, Shayan Javaherian, B. Bahr, M. Ghazinejad, A. S. Eddin, M. El-Hadedy, Quantum Brain-Computer Interface, ASEE PSW, 2023, in press.
- Schneier, Bruce. (1994). "Applied Cryptography: Protocols, Algorithms, and Source Code in C". Wiley.
- Schneier, Bruce. (1996). "Applied Cryptography: Protocols, Algorithms, and Source Code in C". Wiley.
- Perkins, Charles L.. (2000). "Firewalls: 24seven". Network Press.
- LaMacchia, Brian. (2002). ".NET Framework Security". Addison-Wesley.
- (2009). "Algorithmic Aspects of Wireless Sensor Networks". Springer.
- Stallings, William. (1998). "Cryptography and Network Security: Principles and Practice". Pearson.
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Alice and Bob — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report