SHA-2
From Just Solve the File Format Problem
				
								
				(Difference between revisions)
				
																
				
				
								
				|  (→Software) | |||
| Line 3: | Line 3: | ||
| |released=2002 | |released=2002 | ||
| }} | }} | ||
| − | + | '''SHA-2''' is a family of cryptographic hash functions. | |
| − | '''SHA-2''' is a family of cryptographic hash functions | + | |
| − | == | + | == Details == | 
| − | + | As of 2012, SHA-2 has six defined-and-approved members, which can be classified into two sub-families: | |
| − | + | ||
| − | + | * SHA-256 sub-family | |
| − | * '''SHA- | + | ** '''SHA-224''' (224-bit) | 
| − | * '''SHA- | + | ** '''SHA-256''' (256-bit) | 
| − | + | ||
| − | + | ||
| − | The specification also defines ''t''-bit hashes named SHA-512/''t'', for a wide range of values of ''t'', but it only approves SHA-512/224 and SHA-512/256 for use. | + | * SHA-512 sub-family | 
| + | ** '''SHA-512/224''' (224-bit) | ||
| + | ** '''SHA-512/256''' (256-bit) | ||
| + | ** '''SHA-384''' (384-bit) | ||
| + | ** '''SHA-512''' (512-bit) | ||
| + | |||
| + | 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 == | == Specifications == | ||
| Line 29: | Line 31: | ||
| == Links == | == Links == | ||
| * [[Wikipedia:SHA-2|Wikipedia article]] | * [[Wikipedia:SHA-2|Wikipedia article]] | ||
| + | * [http://eprint.iacr.org/2010/548 SHA-512/256] - 2010 report by Gueron, Johnson, Walker | ||
| [[Category:Error detection and correction]] | [[Category:Error detection and correction]] | ||
Revision as of 15:30, 5 July 2013
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-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)
 
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
Links
- Wikipedia article
- SHA-512/256 - 2010 report by Gueron, Johnson, Walker

