Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. In cryptography,
SHA-2 is a set of cryptographic hash functions designed by the National
Security Agency and published in 2001 by the NIST as a U.S. Federal
Information Processing Standard. SHA stands for Secure Hash Algorithm.
SHA-2 includes a significant number of changes from its predecessor,
SHA-1. SHA-2 consists of a set of four hash functions with digests that
are 224, 256, 384 or 512 bits. In 2005, security flaws were identified
in SHA-1, namely that a mathematical weakness might exist, indicating
that a stronger hash function would be desirable. Although SHA-2 bears
some similarity to the SHA-1 algorithm, these attacks have not been
successfully extended to SHA-2.