Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. The Otway-Rees
protocol is a computer network authentication protocol designed for use
on insecure networks (eg. the Internet). It allows individuals
communicating over such a network to prove their identity to each other
while also preventing eavesdropping or replay attacks and allowing for
the detection of modification. One problem with this protocol is that a
malicious intruder can arrange for A and B to end up with different
keys. Here is how: after A and B execute the first three messages, B has
received the key KAB.