Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In cryptography,
SHA-1 is a cryptographic hash function designed by the United States
National Security Agency and published by the United States NIST as a
U.S. Federal Information Processing Standard. SHA stands for "secure
hash algorithm". The three SHA algorithms are structured differently and
are distinguished as SHA-0, SHA-1, and SHA-2. SHA-1 is very similar to
SHA-0, but corrects an error in the original SHA hash specification that
led to significant weaknesses. The SHA-0 algorithm was not adopted by
many applications. SHA-2 on the other hand significantly differs from
the SHA-1 hash function.