Alice and Bob are conventional personal names used to stand for participants in an abstract interaction. Instead of writing "A sends B a message" authors write, for example, "Alice sends Bob a message." The convention makes descriptions of protocols, thought experiments and strategic situations clearer and easier to follow by giving roles simple, memorable labels.
Typical uses and conventions
The names are widely used in explanations of secure communication, protocol design and in pedagogical examples. In many accounts a short cast of characters develops around Alice and Bob: cryptographers often add Eve (an eavesdropper) or Mallory (a malicious attacker), while other disciplines introduce neutral helpers or referees such as Trent or additional correspondents like Carol and Dave. The labels are arbitrary and intended to be intuitively human rather than formal symbols.
History and popularization
The pair became especially prominent in the literature on public-key cryptography after being used and popularized in late 1970s papers about the RSA method. Scholars attribute much of the early spread of the convention to influential publications of that period, which adopted named characters to explain key exchange and message confidentiality. Since then the pattern has been adopted across many areas of computer science and information theory.
Applications and examples
Examples range from a simple explanation of encryption—"Alice encrypts a message for Bob"—to elaborate protocol descriptions where several rounds of messages, keys and acknowledgements are exchanged. In game-theory literature authors use the same labels to describe strategic interactions and bargaining between parties; see a typical exposition in game-theory contexts. In physics, especially quantum information and relativity, Alice and Bob frequently appear in thought experiments to describe separated observers who perform measurements or exchange signals.
Notable points and related names
- Role clarity: using distinct personal names helps readers track many-step procedures.
- Supplementary characters: Eve (eavesdropper), Mallory (malicious), Trent (trusted third party).
- Pedagogy and neutrality: names are chosen for familiarity, not to imply gender or identity.
Because the pattern is concise and illustrative, the Alice-and-Bob convention remains a common teaching and writing device whenever authors need to explain interactions among parties in security, strategic models, or physical experiments. For more detailed technical expositions see introductions and original papers on the RSA algorithm and modern protocol descriptions in cryptography and quantum information.