January 29, 2002
Practical Aspects of Modern Cryptography
37
One-Way Hash Functions
nWhen using a stream cipher, a (keyed) hash of the message can be appended to ensure integrity.  [Message Authentication Code]
n
nWhen forming a digital signature, the signature need only be applied to a hash of the message.  [Message Digest]