Comparing common hash algorithms
Similar to the choices we have when using encryption, there are several hash algorithms. Each one compresses the data a bit differently in order to create a message digest. In this section, we'll review some of the more common hash algorithms in use today and see why some are more secure than others.
First, we'll take a look at an early hash algorithm, the message digest algorithm, and then discuss SHA. Then we'll review some of the versions of SHA that are more acceptable hash algorithms used for cryptographic processes. Finally, we'll briefly discuss some of the permutation-based hash algorithms that are starting to gain traction, as an even more secure cryptographic option.
Let's start with one of the earliest cryptographic hashes, the message digest algorithm.
Using the message digest algorithm
Hashing a block of text produces a message digest. Ronald Rivest designed the aptly named message digest algorithm,...