
47
Network Security Protocols
it once and compares it with the stored value. If the values match, Bob sends authen-
tication success to Alice, replaces the stored quantity with the received quantity and
reduces the value of the raise by one to m–1.
When the value of the “raise” at Bob reaches 1, the user needs to change her pass-
word and Bob needs to be reconfigured securely with the new password—which must
be done by the network administrator. An enhancement to Lamport’s Hash is to use
a salt value along with the password before taking the hash. This allows the user to
keep using the same password even when n reaches 1, since n can be reset to 1000 ...