
13
Security and Cryptography
decrypting the response. If this is verified, B authenticates A. A may also authenticate
B by sending a challenge.
Challenge-response systems and digital signatures are variations of the same
technique. Whereas the former requires a single separate message to ensure authenti-
cation, the latter does it on a per-message basis. Even though the latter appears to be
more secure, the former one is well suited for connection-oriented networks where
the authentication can be done once at connection setup time, thus saving the per-
message over-head.
1.2.4 Replay Protection and Nonrepudiation
In the real world, when A gives a cheque ...