SHA-2
From Just Solve the File Format Problem
				
								
				(Difference between revisions)
				
																
				
				
								
				m (→See also)  | 
			m (→Software)  | 
			||
| Line 26: | Line 26: | ||
== Software ==  | == Software ==  | ||
| − | * [  | + | * [[OpenSSL]] (<code>openssl dgst [-sha224|-sha256|-sha384|-sha512]</code>)  | 
* [http://www.gnu.org/software/coreutils/ GNU coreutils] → [http://www.gnu.org/software/coreutils/manual/html_node/sha2-utilities.html sha224sum, sha256sum, sha384sum, sha512sum]  | * [http://www.gnu.org/software/coreutils/ GNU coreutils] → [http://www.gnu.org/software/coreutils/manual/html_node/sha2-utilities.html sha224sum, sha256sum, sha384sum, sha512sum]  | ||
Revision as of 20:16, 29 January 2016
SHA-2 is a family of cryptographic hash functions.
Contents | 
Details
As of 2012, SHA-2 has six defined-and-approved members, which can be classified into two sub-families.
-  SHA-2 family
-  SHA-256 sub-family
- SHA-224 (224-bit)
 - SHA-256 (256-bit)
 
 -  SHA-512 sub-family
- SHA-512/224 (224-bit)
 - SHA-512/256 (256-bit)
 - SHA-384 (384-bit)
 - SHA-512 (512-bit)
 
 
 -  SHA-256 sub-family
 
The specification also defines t-bit hashes named SHA-512/t, for a wide range of values of t, but it only approves the aforementioned SHA-512/224 and SHA-512/256 for use.
Specifications
- FIPS PUB 180-2 (1 Aug. 2002): SHA-256, SHA-384, SHA-512
 - FIPS PUB 180-3 (Oct. 2008): Adds SHA-224
 - FIPS PUB 180-4 (Mar. 2012): Adds SHA-512/224, SHA-512/256
 
Software
-  OpenSSL (
openssl dgst [-sha224|-sha256|-sha384|-sha512]) - GNU coreutils → sha224sum, sha256sum, sha384sum, sha512sum
 
See also
Links
- Wikipedia article
 - SHA-512/256 - 2010 report by Gueron, Johnson, Walker
 - Towards the Perfect Coin Flip: The NIST Randomness Beacon (uses SHA512)