Secure Hash Algorithm: Concepts
Secure Hash Algorithm: Concepts
Secure Hash Algorithm: Concepts
SHA-2 (Secure Hash Algorithm 2) is a set of cryptographic hash functions designed by the United States National Security Agency (NSA).[3]
Cryptographic hash functions are mathematical operations run on digital data; by comparing the computed "hash" (the output from execution of the Secure Hash
algorithm) to a known and expected hash value, a person can determine the data's integrity. For example, computing the hash of a downloaded file and Algorithm
comparing the result to a previously published hash result can show whether the download has been modified or tampered with.[4] A key aspect of
cryptographic hash functions is theircollision resistance: nobody should be able to find two different input values that result in the same hash output.
SHA-2 includes significant changes from its predecessor, SHA-1. The SHA-2 family consists of six hash functions with digests (hash values) that are
224, 256, 384 or 512 bits:SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, SHA-512/256
.
SHA-256 and SHA-512 are novel hash functions computed with 32-bit and 64-bit words, respectively. They use different shift amounts and additive
constants, but their structures are otherwise virtually identical, differing only in the number of rounds. SHA-224 and SHA-384 are simply truncated
Concepts
versions of the first two, computed with different initial values. SHA-512/224 and SHA-512/256 are also truncated versions of SHA-512, but the initial hash functions · SHA ·
values are generated using the method described in Federal Information Processing Standards(FIPS) PUB 180-4. SHA-2 was published in 2001 by the
DSA
National Institute of Standards and Technology (NIST) a U.S. federal standard (FIPS). The SHA-2 family of algorithms are patented in US patent
6829355.[5] The United States has released the patent under a royalty-free license.
[6] Main standards
Currently, the best public attacks break preimage resistance for 52 out of 64 rounds of SHA-256 or 57 out of 80 rounds of SHA-512, and collision SHA-0 · SHA-1 · SHA-2 ·
resistance for 46 out of 64 rounds of SHA-256.[1][2] SHA-3
SHA-256 and SHA-512, and, to a lesser degree, SHA-224 and SHA-384 are prone to length extension attacks,[7] rendering it insecure for some
applications. It is thus generally recommended to switch to SHA-3 for 512 bit hashes and to use SHA-512/224 and SHA-512/256 instead of SHA-224
[8]
and SHA-256. This also happens to be faster than SHA-224 and SHA-256 on x86-64, since SHA-512 works on 64 bit instead of 32 bit words. SHA-2
General
Designers National Security
Agency
Contents First 2001
Hash standard published
Applications Series (SHA-0), SHA-1,
Cryptanalysis and validation SHA-2, SHA-3
Official validation
Certification FIPS PUB 180-4,
Test vectors CRYPTREC, NESSIE
Pseudocode
Detail
Comparison of SHA functions
Digest sizes 224, 256, 384, or 512
See also
bits
References
Additional reading Structure Merkle–Damgård
construction with
External links
Davies–Meyer
compression function
Rounds 64 or 80
Hash standard
Best public cryptanalysis
With the publication of FIPS PUB 180-2, NIST added three additional hash functions in the SHA family. The algorithms are collectively known as
SHA-2, named after their digest lengths (in bits): SHA-256, SHA-384, and SHA-512. A 2011 attack breaks preimage
resistance for 57 out of 80 rounds of
The algorithms were first published in 2001 in the draft FIPS PUB 180-2, at which time public review and comments were accepted. In August 2002, SHA-512, and 52 out of 64 rounds for
FIPS PUB 180-2 became the new Secure Hash Standard, replacing FIPS PUB 180-1, which was released in April 1995. The updated standard included SHA-256.[1] Pseudo-collision attack
.[9]
the original SHA-1 algorithm, with updated technical notation consistent with that describing the inner workings of the SHA-2 family against up to 46 rounds of SHA-256.[2]
In February 2004, a change notice was published for FIPS PUB 180-2, specifying an additional variant, SHA-224, defined to match the key length of SHA-256 and SHA-512 are prone to
two-key Triple DES.[10] In October 2008, the standard was updated in FIPS PUB 180-3, including SHA-224 from the change notice, but otherwise length extension attacks. By
making no fundamental changes to the standard. The primary motivation for updating the standard was relocating security information about the hash guessing the hidden part of the
state, length extension attacks on
algorithms and recommendations for their use to Special Publications 800-107 and 800-57.[11][12][13] Detailed test data and example message digests
SHA-224 and SHA-384 succeed
[14]
were also removed from the standard, and provided as separate documents. with probability 2−(256−224) = 2−32 >
2−224 and 2−(512−384) = 2−128 > 2−384
In January 2011, NIST published SP800-131A, which specified a move from the current minimum security of 80-bits (provided by SHA-1) allowable respectively.
for federal government use until the end of 2013, with 112-bit security (provided by SHA-2) being the minimum requirement current thereafter, and the
recommended security level from the publication date.[15]
In March 2012, the standard was updated in FIPS PUB 180-4, adding the hash functions SHA-512/224 and SHA-512/256, and describing a method for generating initial values for truncated versions of
SHA-512. Additionally, a restriction on padding the input data prior to hash calculation was removed, allowing hash data to be calculated simultaneously with content generation, such as a real-time
[16]
video or audio feed. Padding the final data block must still occur prior to hash output.
In July 2012, NIST revised SP800-57, which provides guidance for cryptographic key management. The publication disallows creation of digital signatures with a hash security lower than
12-bits
1 after
f to be the end of 2010.[13] In August 2012, NIST revised SP800-107 in the same manner
2013. The previous revision from 2007 specified the cutof .[12]
The NIST hash function competitionselected a new hash function,SHA-3, in 2012.[17] The SHA-3 algorithm is not derived from SHA-2.
Applications
The SHA-2 hash function is implemented in some widely used security applications and protocols, including
TLS and SSL, PGP, SSH, S/MIME, and IPsec.
SHA-256 partakes in the process of authenticating Debian software packages[18] and in the DKIM message signing
standard; SHA-512 is part of a system to authenticate archival video from the International Criminal Tribunal of the
Rwandan genocide.[19] SHA-256 and SHA-512 are proposed for use in DNSSEC.[20] Unix and Linux vendors are
[21]
moving to using 256- and 512-bit SHA-2 for secure password hashing.
Several cryptocurrencies like Bitcoin use SHA-256 for verifying transactions and calculating proof-of-work or proof-
of-stake. The rise of ASIC SHA-2 accelerator chips has led to the use ofscrypt-based proof-of-work schemes.
SHA-1 and SHA-2 are the Secure Hash Algorithmsrequired by law for use in certain U.S. Government applications,
including use within other cryptographic algorithms and protocols, for the protection of sensitive unclassified
information. FIPS PUB 180-1 also encouraged adoption and use of SHA-1 by private and commercial organizations.
SHA-1 is being retired for most government uses; the U.S. National Institute of Standards and Technology says,
"Federal agencies should stop using SHA-1 for...applications that require collision resistance as soon as practical, and
must use the SHA-2 family of hash functions for these applications after 2010" (emphasis in original).[22] NIST's
directive that U.S. government agencies must stop uses of SHA-1 after 2010[23] was hoped to accelerate migration
away from SHA-1. One iteration in a SHA-2 family compression function. The blue
components perform the following operations:
The SHA-2 functions were not quickly adopted initially, despite better security than SHA-1. Reasons might include
lack of support for SHA-2 on systems running Windows XP SP2 or older[24] and a lack of perceived urgency since
SHA-1 collisions had not yet been found. The Google Chrome team announced a plan to make their web browser
gradually stop honoring SHA-1-dependent TLS certificates over a period from late 2014 and early 2015.[25][26][27]
Similarly, Microsoft announced[28] that Internet Explorer and Edge would stop honouring public SHA-1-signed TLS The bitwise rotation uses different constants for SHA-512. The given
numbers are for SHA-256.
certificates from February 2017. Mozilla disabled SHA-1 in early January 2016, but had to re-enable it temporarily
The red is addition modulo 232 for SHA-256, or 264 for SHA-512.
via a Firefox update, after problems with web-based user interfaces of some router models and security
appliances.[29]
Some of the applications that use cryptographic hashes, such as password storage, are only minimally affected by a collision attack. Constructing a password that works for a given account requires a
preimage attack, as well as access to the hash of the original password (typically in the shadow file) which may or may not be trivial. Reversing password encryption (e.g., to obtain a password to try
against a user's account elsewhere) is not made possible by the attacks. (However
, even a secure password hash cannot prevent brute-force attacks onweak passwords.)
In the case of document signing, an attacker could not simply fake a signature from an existing document—the attacker would have to produce a pair of documents, one innocuous and one damaging,
and get the private key holder to sign the innocuous document. There are practical circumstances in which this is possible; until the end of 2008, it was possible to create forged SSL certificates using
[30]
an MD5 collision which would be accepted by widely used web browsers.
Increased interest in cryptographic hash analysis during the SHA-3 competition produced several new attacks on the SHA-2 family, the best of which are given in the table below. Only the collision
attacks are of practical complexity; none of the attacks extend to the full round hash function.
At FSE 2012, researchers at Sony gave a presentation suggesting pseudo-collision attacks could be extended to 52 rounds on SHA-256 and 57 rounds on SHA-512 by building upon the biclique
pseudo-preimage attack.[31]
42/64 2251.7
SHA-256
43/64 2254.9
Preimages for step-reduced SHA-2[33] 2009 Meet-in-the-middle Preimage
42/80 2502.3
SHA-512
46/80 2511.5
Official validation
Implementations of all FIPS-approved security functions can be officially validated through the CMVP program, jointly run by the National Institute of Standards and Technology (NIST) and the
Communications Security Establishment (CSE). For informal verification, a package to generate a high number of test vectors is made available for download on the NIST site; the resulting
verification, however, does not replace the formal CMVP validation, which is required by law forertain
c applications.
As of December 2013, there are over 1300 validated implementations of SHA-256 and over 900 of SHA-512, with only 5 of them being capable of handling messages with a length in bits not a
multiple of eight while supporting both variants.[38]
Test vectors
Hash values of an empty string (i.e., a zero-length input text).
SHA224("")
0x d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f
SHA256("")
0x e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SHA384("")
0x 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b
SHA512("")
0x cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
SHA512/224("")
0x 6ed0dd02806fa89e25de060c19d3ac86cabb87d6a0ddd05c333b84f4
SHA512/256("")
0x c672b8d1ef56ed28ab87c3622c5114069bdd3ad7b8f9737498d0c01ecef0967a
Even a small change in the message will (with overwhelming probability) result in a mostly different hash, due to the avalanche effect. For example, adding a period to the end of this sentence changes
almost half (111 out of 224) of the bits in the hash:
SHA224(" The quick brown fox jumps over the lazy dog ")
0x 730e109bd7a8a32b1cb9d9a09aa2325d2430587ddbc0c38bad911525
SHA224(" The quick brown fox jumps over the lazy dog .")
0x 619cba8e8e05826e9b8c519c0a5c68f4fb653e8a3d8aa04bb2c8cd4c
Pseudocode
Pseudocode for the SHA-256 algorithm follows. Note the great increase in mixing between bits of the
w[16..63] words compared to SHA-1.
Note 1: All variables are 32 bit unsigned integers and addition is calculated modulo 2 32
Note 2: For each round, there is one round constant k[i] and one entry in the message schedule array w[i], 0 ≤ i ≤ 63
Note 3: The compression function uses 8 working variables, a through h
Note 4: Big-endian convention is used when expressing the constants in this pseudocode,
and when parsing message block data from bytes to words, for example,
the first word of the input message "abc" after padding is 0x61626380
Pre-processing:
begin with the original message of length L bits
append a single '1' bit
append K '0' bits, where K is the minimum number >= 0 such that L + 1 + K + 64 is a multiple of 512
append L as a 64-bit big-endian integer, making the total post-processed length a multiple of 512 bits
Extend the first 16 words into the remaining 48 words w[16..63] of the message schedule array:
for i from 16 to 63
s0 := (w[i-15] rightrotate 7) xor (w[i-15] rightrotate 18) xor (w[i-15] rightshift 3)
s1 := (w[i-2] rightrotate 17) xor (w[i-2] rightrotate 19) xor (w[i-2] rightshift 10)
w[i] := w[i-16] + s0 + w[i-7] + s1
h := g
g := f
f := e
e := d + temp1
d := c
c := b
b := a
a := temp1 + temp2
The computation of thech and maj values can be optimized the same wayas described for SHA-1.
the initial hash values h0 through h7 are different (taken from the 9th through 16thprimes), and
the output is constructed by omittingh6 and h7.
the initial hash values h0 through h7 are given by the SHA-512/t IV generation function,
the output is constructed by truncating the concatenation ofh0 through h7 at t bits,
t equal to 384 is not allowed, instead SHA-384 should be used as specified, and
t values 224 and 256 are especially mentioned as approved.
The SHA-512/t IV generation functionevaluates a modified SHA-512 on the ASCII string "SHA-512/t", substituted with the decimal representation of t. The modified SHA-512 is the same as SHA-512
except its initial valuesh0 through h7 have each been XORed with the hexadecimal constant0xa5a5a5a5a5a5a5a5.
SHA-0 160 160 512 264 − 1 80 And, Xor, Rot, <34 ≈ SHA-1 ≈ SHA-1 1993
(5 × 32) Add (mod 232), (collisions
Or found)
0
SHA-1 <63 3.47 52.00 1995
(collisions
found[41] )
SHA-2 SHA-224 224 256 512 264 − 1 64 And, Xor, Rot,
112 32
7.62 84.50 2004
SHA-256 256 (8 × 32) Add (mod 232), 128 0
7.63 85.25 2001
Or, Shr
SHA-384 384 512 1024 2128 − 1 80 And, Xor, Rot, 192 128 (≤ 384) 5.12 135.75
SHA-512 512 (8 × 64) Add (mod 264), 256 0 5.06 135.50
Or, Shr
SHA-512/224 224 112 288 ≈ SHA-384 ≈ SHA-384
SHA-512/256 256 128 256
SHA-3 SHA3-224 224 1600 1152 Unlimited[42] 24[43] And, Xor, Rot, 112 448 8.12 154.25 2015
SHA3-256 256 (5 × 5 × 64) 1088 Not 128 512 8.59 155.50
SHA3-384 384 832 192 768 11.06 164.00
SHA3-512 512 576 256 1024 15.88 164.00
SHAKE128 d (arbitrary) 1344 min(d/2, 128) 256 7.08 155.25
SHAKE256 d (arbitrary) 1088 min(d/2, 256) 512 8.59 155.50
In the bitwise operations column, "Rot" stands forrotate no carry, and "Shr" stands for right logical shift. All of these algorithms employmodular addition in some fashion except for SHA-3.
More detailed performance measurements on modern processor architectures are given in the table below
.
CPU architecture Frequency Algorithm Word size (bits) Cycles/byte x86 MiB/s x86 Cycles/byte x86-64 MiB/s x86-64
SHA-256 32-bit 16.80 199 13.05 256
Intel Ivy Bridge 3.5 GHz
SHA-512 64-bit 43.66 76 8.48 394
SHA-256 32-bit 22.87 158 18.47 196
AMD Piledriver APU 3.8 GHz
SHA-512 64-bit 88.36 41 12.43 292
The performance numbers labeled 'x86' were running using 32-bit code on 64-bit processors, whereas the 'x86-64' numbers are native 64-bit code. While SHA-256 is designed for 32-bit calculations, it
does benefit from code optimized for 64-bit processors on the x86 architecture. 32-bit implementations of SHA-512 are significantly slower than their 64-bit counterparts. Variants of both algorithms
with different output sizes will perform similarly, since the message expansion and compression functions are identical, and only the initial hash values and output sizes are different. The best
implementations of MD5 and SHA-1 perform between 4.5 and 6 cycles per byte on modern processors.
Testing was performed by the University of Illinois at Chicago on their hydra8 system running an Intel Xeon E3-1275 V2 at a clock speed of 3.5 GHz, and on their hydra9 system running an AMD
A10-5800K APU at a clock speed of 3.8 GHz.[44] The referenced cycles per byte speeds above are the median performance of an algorithm digesting a 4,096 byte message using the SUPERCOP
cryptographic benchmarking software.[45] The MiB/s performance is extrapolated from the CPU clockspeed on a single core; real-world performance will vary due to a variety of factors.
See also
Comparison of cryptographic hash functions
Hash-based message authentication code
Hashcash
International Association for Cryptologic Research(IACR)
sha1sum (sha224sum, sha256sum, sha384sum and sha512sum) commands
Trusted timestamping
References
1. Dmitry Khovratovich, Christian Rechberger & Alexandra Savelieva (2011). "Bicliques 10. "FIPS 180-2 with Change Notice 1"(http://csrc.nist.gov/publications/fips/fips180-2/fip
for Preimages: Attacks on Skein-512 and the SHA-2 family"(http://eprint.iacr.org/201 s180-2withchangenotice.pdf)(PDF). csrc.nist.gov.
1/286.pdf) (PDF). IACR Cryptology ePrint Archive. 2011:286. 11. Federal Register Notice E8-24743,Announcing Approval of FIPS Publication 180-3
2. Mario Lamberger & Florian Mendel (2011)."Higher-Order Differential Attack on (https://federalregister.gov/a/E8-24743)
Reduced SHA-256" (http://eprint.iacr.org/2011/037.pdf) (PDF). IACR Cryptology 12. FIPS SP 800-107 Recommendation for Applications Using Approved Hash
ePrint Archive. 2011:37. Algorithms (http://csrc.nist.gov/publications/nistpubs/800-107-rev1/sp800-107-rev1.p
3. "On the Secure Hash Algorithm family"(https://web.archive.org/web/2016033015352 df)
0/http://www.staff.science.uu.nl/~werkh108/docs/study/Y5_07_08/infocry/project/Cryp 13. FIPS SP 800-57 Recommendation for Key Management: Part 1: General(http://csrc.
08.pdf) (PDF). nist.gov/publications/nistpubs/800-57/sp800-57_part1_rev3_general.pdf)
4. "Cryptographic Hash Function"(http://pcsupport.about.com/od/termsc/g/cryptographi 14. "NIST.gov – Computer Security Division – Computer Security Resource Center"(htt
c-hash-function.htm). About.com. Retrieved 2014-08-18. p://csrc.nist.gov/groups/ST/toolkit/examples.html#aHashing)
.
5. US 6829355 (https://worldwide.espacenet.com/textdoc?DB=EPODOC&IDX=US6829 15. FIPS SP 800-131A Recommendation for Transitioning the Use of Cryptographic
355) Algorithms and Key Lengths(http://csrc.nist.gov/publications/nistpubs/800-131A/sp8
6. "Licensing Declaration for US patent 6829355"(https://datatracker.ietf.org/ipr/858/). 00-131A.pdf)
Retrieved 2008-02-17. 16. Federal Register Notice 2012-5400,Announcing Approval of FIPS Publication 180-4
7. http://netifera.com/research/flickr_api_signature_forgery
.pdf (https://federalregister.gov/a/2012-5400)
8. https://www.cryptologie.net/article/400/maybe-dont-skip-sha-3/ 17. "NIST Selects Winner of Secure Hash Algorithm (SHA-3) Competition"(https://www.n
9. Federal Register Notice 02-21599,Announcing Approval of FIPS Publication 180-2 ist.gov/itl/csd/sha-100212.cfm). Retrieved 24 February 2015.
(https://federalregister.gov/a/02-21599)
18. "Debian codebase in Google Code"(https://web.archive.org/web/20111107215111/ht 33. Kazumaro Aoki; Jian Guo; Krystian Matusiewicz; Y u Sasaki & Lei Wang (2009).
tp://google.com/codesearch/p?hl=en). Google. Archived fromthe original (http://googl "Preimages for step-reduced SHA-2"(https://link.springer.com/chapter/10.1007%2F9
e.com/codesearch/p?hl=en#nywQboHfkw4/apt/apt-pkg/acquire-item.cc&q=SHA256) 78-3-642-10366-7_34). Advances in Cryptology –ASIACRYPT 2009. Lecture Notes
on November 7, 2011. Retrieved 2011-11-08. in Computer Science. Springer Berlin Heidelberg.5912: 578–597. doi:10.1007/978-
19. John Markoff, A Tool to Verify Digital Records, Even as Technology Shifts (https://ww 3-642-10366-7_34 (https://doi.org/10.1007%2F978-3-642-10366-7_34) . ISBN 978-3-
w.nytimes.com/2009/01/27/science/27arch.html), New York Times, January 26, 2009 642-10366-7. ISSN 0302-9743 (https://www.worldcat.org/issn/0302-9743).
20. RFC 5702,RFC-Editor.org (http://www.rfc-editor.org/rfc/rfc5702.txt) 34. Jian Guo; San Ling; Christian Rechberger & Huaxiong W ang (2010). "Advanced
meet-in-the-middle preimage attacks: First results on full iTger, and improved results
21. Ulrich Drepper, Unix crypt with SHA-256/512(http://people.redhat.com/drepper/sha-c
on MD4 and SHA-2" (http://eprint.iacr.org/2010/016.pdf) (PDF). Advances in
rypt.html)
Cryptology – ASIACRYPT 2010. Lecture Notes in Computer Science. Springer Berlin
22. National Institute on Standards and T
echnology Computer Security Resource Center, Heidelberg. 6477: 56–75. doi:10.1007/978-3-642-17373-8_4(https://doi.org/10.100
NIST's Policy on Hash Functions(http://csrc.nist.gov/groups/ST/hash/policy
.html), 7%2F978-3-642-17373-8_4). ISBN 978-3-642-17373-8. ISSN 0302-9743 (https://ww
accessed March 29, 2009. w.worldcat.org/issn/0302-9743).
23. "Secure Hashing" (http://csrc.nist.gov/groups/ST/toolkit/secure_hashing.html)
. NIST.
35. Florian Mendel; Tomislav Nad; Martin Schläffer (2013). "Improving Local Collisions:
Retrieved 2010-11-25. New Attacks on Reduced SHA-256"(https://online.tugraz.at/tug_online/voe_main2.g
24. Microsoft Corporation,Overview of Windows XP Service Pack 3(http://download.micr etvolltext?pCurrPk=69018). Advances in Cryptology –EUROCRYPT 2013. Lecture
osoft.com/download/6/8/7/687484ed-8174-496d-8db9-f02b40c12982/Overview%20o Notes in Computer Science. Springer Berlin Heidelberg.7881: 262–278.
f%20Windows%20XP%20Service%20Pack%203.pdf) doi:10.1007/978-3-642-38348-9_16(https://doi.org/10.1007%2F978-3-642-38348-9_
25. Chromium Blog, September 5, 2014,Gradually sunsetting SHA-1(http://blog.chromiu 16). ISBN 978-3-642-38348-9. ISSN 0302-9743 (https://www.worldcat.org/issn/0302-
m.org/2014/09/gradually-sunsetting-sha-1.html) 9743).
26. Eric Mill. "SHAAAAAAAAAAAAA"(https://shaaaaaaaaaaaaa.com/). 36. Maria Eichlseder and Florian Mendel and Martin Schläf fer (2014). "Branching
SHAAAAAAAAAAAAA.com. Heuristics in Differential Collision Search withApplications to SHA-512"(http://eprint.i
27. Filippo Valsorda, The Unofficial Chrome SHA1 Deprecation FAQ (https://blog.filippo.i acr.org/2014/302.pdf) (PDF). IACR Cryptology ePrint Archive. 2014:302.
o/the-unofficial-chrome-sha1-faq/) 37. Christoph Dobraunig; Maria Eichlseder & Florian Mendel (2016)."Analysis of SHA-
28. "An update to our SHA-1 deprecation roadmap – Microsoft Edge Dev BlogMicrosoft 512/224 and SHA-512/256"(https://eprint.iacr.org/2016/374.pdf) (PDF).
Edge Dev Blog" (https://blogs.windows.com/msedgedev/2016/04/29/sha1-deprecatio 38. "SHS Validation List" (https://web.archive.org/web/20170617035122/http://csrc.nist.g
n-roadmap). blogs.windows.com. Retrieved 2016-11-28. ov/groups/STM/cavp/documents/shs/shaval.html) . NIST. 2017-06-16. Archived from
29. Fabian A. Scherschel, HeiseSecurity:Firefox: Mozilla schaltet SHA-1 ab … und the original (https://csrc.nist.gov/groups/STM/cavp/documents/shs/shaval.html)on
direkt wieder an (https://www.heise.de/security/meldung/Firefox-Mozilla-schaltet-SHA 2017-06-17.
-1-ab-und-direkt-wieder-an-3066832.html)(german) 39. http://bench.cr.yp.to/results-hash.html#amd64-skylake
30. Alexander Sotirov, Marc Stevens, Jacob Appelbaum, Arjen Lenstra, David Molnar, 40. "The MD5 Message-Digest Algorithm"(http://tools.ietf.org/html/rfc1321). Retrieved
Dag Arne Osvik, Benne de Weger, MD5 considered harmful today: Creating a rogue 2016-04-18. "In the unlikely event that b is greater than 2^64, then only the low-order
CA certificate (http://www.win.tue.nl/hashclash/rogue-ca/), accessed March 29, 2009. 64 bits of b are used."
31. Ji Li, Takanori Isobe and Kyoji Shibutani, Sony China Research Laboratory and Sony 41. "Announcing the first SHA1 collision"(https://security.googleblog.com/2017/02/annou
Corporation, Converting Meet-in-the-Middle Preimage Attack into Pseudo Collision ncing-first-sha1-collision.html). Retrieved 2017-02-23.
Attack: Application to SHA-2(http://fse2012.inria.fr/SLIDES/67.pdf) 42. "The Sponge Functions Corner"(http://sponge.noekeon.org/). Retrieved 2016-01-27.
32. Somitra Kumar Sanadhya & Palash Sarkar (2008)."New Collision Attacks Against 43. "The Keccak sponge function family"(http://keccak.noekeon.org/specs_summary
.htm
Up To 24-step SHA-2" (http://eprint.iacr.org/2008/270.pdf) (PDF). IACR Cryptology l). Retrieved 2016-01-27.
ePrint Archive. 2008:270. 44. SUPERCOP BenchmarksMeasurements of hash functions, indexed by machine(htt
p://bench.cr.yp.to/results-hash.html)
45. "SUPERCOP" (http://bench.cr.yp.to/supercop.html). Retrieved 24 February 2015.
Additional reading
Henri Gilbert, Helena Handschuh: Security Analysis of SHA-256 and Sisters.
Selected Areas in Cryptography2003: pp175–193
"Proposed Revision of Federal Information Processing Standard (FIPS) 180, Secure Hash Standard"
. Federal Register. 59 (131): 35317–35318. 1994-07-11. Retrieved
2007-04-26.
External links
Descriptions of SHA-256, SHA-384, and SHA-512from NIST
SHA-2 Checker – SHAChecker check your SSL compatibility for SHA-2.
Specifications for a Secure Hash Standard (SHS)– Draft for proposed SHS (SHA-0)
Secure Hash Standard (SHS)– Proposed SHS (SHA-0)
CSRC Cryptographic Toolkit – Official NIST site for the Secure Hash Standard
FIPS PUB 180-4: Secure Hash Standard (SHS)(PDF, 1.7 MB) – Current version of the Secure Hash Standard (SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512), March
2012
Test vectors for SHA-256/384/512from the NESSIE project
Test vectors for SHA-1, SHA-2from NIST site
NIST Cryptographic Hash ProjectSHA-3 competition
RFC 3874: A 224-bit One-way Hash Function: SHA-224.
RFC 6234: US Secure Hash Algorithms SHA and SHA-based HMAC and HKDF . Contains sample C implementation.
Text is available under theCreative Commons Attribution-ShareAlike License ; additional terms may apply. By using this site, you agree to theTerms of Use and Privacy Policy.
Wikipedia® is a registered trademark of theWikimedia Foundation, Inc., a non-profit organization.