Chapter 6: Examining Hash Algorithms

If you look up the word "hash," you will see several definitions. One of the definitions is to chop food into small pieces. That is what a hash algorithm does to data. A hash algorithm will chop or reduce a variable-length block of text to produce a fixed-length hash value. The other key factor is that a hash value is a one-way function in that it cannot be restored to the original message. In this chapter, we'll describe the concept of the hash algorithm and investigate the many ways we can use a hash value.

Not all hash algorithms are the same in that some have more desirable attributes. We'll talk about what comprises an exceptional attribute when using a hash algorithm and list several desired qualities. ...

Get Modern Cryptography for Cybersecurity Professionals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.