Share to: share facebook share twitter share wa share telegram print page

Secure Hash Algorithms

The Secure Hash Algorithms are a family of cryptographic hash functions published by the National Institute of Standards and Technology (NIST) as a U.S. Federal Information Processing Standard (FIPS), including:

  • SHA-0: A retronym applied to the original version of the 160-bit hash function published in 1993 under the name "SHA". It was withdrawn shortly after publication due to an undisclosed "significant flaw" and replaced by the slightly revised version SHA-1.
  • SHA-1: A 160-bit hash function which resembles the earlier MD5 algorithm. This was designed by the National Security Agency (NSA) to be part of the Digital Signature Algorithm. Cryptographic weaknesses were discovered in SHA-1, and the standard was no longer approved for most cryptographic uses after 2010.
  • SHA-2: A family of two similar hash functions, with different block sizes, known as SHA-256 and SHA-512. They differ in the word size; SHA-256 uses 32-bit words where SHA-512 uses 64-bit words. There are also truncated versions of each standard, known as SHA-224, SHA-384, SHA-512/224 and SHA-512/256. These were also designed by the NSA.
  • SHA-3: A hash function formerly called Keccak, chosen in 2012 after a public competition among non-NSA designers. It supports the same hash lengths as SHA-2, and its internal structure differs significantly from the rest of the SHA family.

The corresponding standards are FIPS PUB 180 (original SHA), FIPS PUB 180-1 (SHA-1), FIPS PUB 180-2 (SHA-1, SHA-256, SHA-384, and SHA-512). NIST has updated Draft FIPS Publication 202, SHA-3 Standard separate from the Secure Hash Standard (SHS).

Comparison of SHA functions

In the table below, internal state means the "internal hash sum" after each compression of a data block.

Comparison of SHA functions
Algorithm and variant Output size
(bits)
Internal
state size
(bits)
Block size
(bits)
Rounds Operations Security against collision attacks
(bits)
Security against length extension attacks
(bits)
Performance on Skylake (median cpb)[1] First published
Long messages 8 bytes
MD5 (as reference) 128 128
(4 × 32)
512 4
(16 operations in each round)
And, Xor, Or, Rot, Add (mod 232) ≤ 18
(collisions found)[2]
0 4.99 55.00 1992
SHA-0 160 160
(5 × 32)
512 80 And, Xor, Or, Rot, Add (mod 232) < 34
(collisions found)
0 ≈ SHA-1 ≈ SHA-1 1993
SHA-1 < 63
(collisions found)[3]
3.47 52.00 1995
SHA-2 SHA-224
SHA-256
224
256
256
(8 × 32)
512 64 And, Xor, Or,
Rot, Shr, Add (mod 232)
112
128
32
0
7.62
7.63
84.50
85.25
2004
2001
SHA-384 384 512
(8 × 64)
1024 80 And, Xor, Or,
Rot, Shr, Add (mod 264)
192 128 5.12 135.75 2001
SHA-512 512 256 0[4] 5.06 135.50 2001
SHA-512/224
SHA-512/256
224
256
112
128
288
256
≈ SHA-384 ≈ SHA-384 2012
SHA-3 SHA3-224
SHA3-256
SHA3-384
SHA3-512
224
256
384
512
1600
(5 × 5 × 64)
1152
1088
832
576
24[5] And, Xor, Rot, Not 112
128
192
256
448
512
768
1024
8.12
8.59
11.06
15.88
154.25
155.50
164.00
164.00
2015
SHAKE128
SHAKE256
d (arbitrary)
d (arbitrary)
1344
1088
min(d/2, 128)
min(d/2, 256)
256
512
7.08
8.59
155.25
155.50

Validation

All SHA-family algorithms, as FIPS-approved security functions, are subject to official validation by the CMVP (Cryptographic Module Validation Program), a joint program run by the American National Institute of Standards and Technology (NIST) and the Canadian Communications Security Establishment (CSE).

References

  1. ^ "Measurements table". bench.cr.yp.to.
  2. ^ Tao, Xie; Liu, Fanbao; Feng, Dengguo (2013). Fast Collision Attack on MD5 (PDF). Cryptology ePrint Archive (Technical report). IACR.
  3. ^ Stevens, Marc; Bursztein, Elie; Karpman, Pierre; Albertini, Ange; Markov, Yarik. The first collision for full SHA-1 (PDF) (Technical report). Google Research.
    • Marc Stevens; Elie Bursztein; Pierre Karpman; Ange Albertini; Yarik Markov; Alex Petit Bianco; Clement Baisse (February 23, 2017). "Announcing the first SHA1 collision". Google Security Blog.
  4. ^ Without truncation, the full internal state of the hash function is known, regardless of collision resistance. If the output is truncated, the removed part of the state must be searched for and found before the hash function can be resumed, allowing the attack to proceed.
  5. ^ "The Keccak sponge function family". Retrieved 2016-01-27.

Read other articles:

This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: List of Israeli Mizrahi and Sephardi Jews – news · newspapers · books · scholar · JSTOR (June 2022) (Learn how and when to remove this template message) Lists of Israelis   By ethnicity Israeli Jews: Ashkenazi JewsEthiopian JewsMizrahi and Sephardi Jews Arab …

Bahasa Berangas atau Dayak Berangas adalah sebuah dialek bahasa Dayak yang dipertuturkan di Kabupaten Barito Kuala.[1] Cari artikel bahasa  Cari berdasarkan kode ISO 639 (Uji coba)  Kolom pencarian ini hanya didukung oleh beberapa antarmuka Halaman bahasa acak Bahasa BerangasDituturkan diIndonesiaWilayah  Kalimantan Selatan Barito Kuala Penutur23.000 (2007) Rumpun bahasaAustronesia[2][3] Melayu-Polinesia[4][5]Melayu-Polinesia Barat[…

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (أغسطس 2019) هذه المقالة تحتاج للمزيد من الوصلات للمقالات الأخرى للمساعدة في ترابط مقالات الموسوعة. فضلًا ساعد في تحسين …

Ahmad I al-MansurSultan Maroko Berkuasa1578 - 1603Penobatan1578PendahuluAbd al-MalikPenerusZidan Abu Maali (in Marrakesh)Abou Fares Abdallah (in Fes)Kelahiran1549Fes, MarokoKematian25 Agustus 1603Pinggiran Fes, MarokoAnakZidan Abu MaaliAbou Fares AbdallahAgamaIslam Ahmad I al-Mansur (Arab: أحمد المنصور السعديcode: ar is deprecated , juga disebut El-Mansour Eddahbi Arab: أحمد المنصور الذهبيcode: ar is deprecated ; dan Ahmed el-Mansour) (1549 di Fes[1] - 2…

Commodore InternationalIndustriPerangkat keras komputer Elektronik Perangkat lunak komputerNasibBangkrutDidirikan1954; 70 tahun lalu (1954)Toronto, Ontario, KanadaDitutup1994KantorpusatWest Chester, Pennsylvania, Amerika SerikatTokohkunciJack Tramiel (Pendiri) Irving Gould (investor utama dan ketua)ProdukCommodore PET Commodore VIC-20 Commodore 64 Commodore 128 Amiga Lain-lain Commodore International (atau Commodore International Limited) adalah sebuah pabrik elektronik dan komputer rumah A…

Les SincèresWritten byMarivauxDate premiered1739Place premieredParis, FranceGenreComedy Les Sincères is a comedic play by French playwright Pierre Marivaux. Played in one act and in prose, it was performed for the first time by the Comédiens italiens on January 13, 1739 at the Hotel de Bourgogne in Paris. In this play, Marivaux focuses on what happens to love when the main virtue in which the characters pride themselves is absolute sincerity. The ultimate result is a negative one. The whole p…

First Lady of PolandPierwsza dama PolskiIncumbentAgata Kornhauser-Dudasince 6 August 2015ResidencePresidential PalaceInaugural holderMaria PiłsudskaFormation14 November 1918WebsiteFirst Lady of Poland (Pierwsza Dama) First Lady of the Republic of Poland is an informal designation customarily applied to the wife of the president of the Republic of Poland (as so far all Polish president had wives). The First Lady does not hold a constitutional position and there are no political duties assoc…

Pakistani Sufi (1887-1962) Ahmed Ali LahoriPersonalBorn1887Gujranwala District, Punjab, British IndiaDied23 February 1962(1962-02-23) (aged 74–75)Lahore, West Pakistan, PakistanReligionIslamOccupationIslamic scholar, Quran interpreterMuslim leader Students Oliur RahmanShamsuddin Qasemi Part of a series on theDeobandi movement Ideology and influences Dars-i Nizami Maturidi theology Hanafi fiqh Founders and key figures Mamluk Ali Nanautawi Imdadullah Muhajir Makki Rahmatullah Kairanawi Ahma…

Russian TV channel for women Television channel DomashnyДомашнийCountryRussiaBroadcast areaRussiaProgrammingPicture format1080i HDTV(downscaled to 576i for the SD feed)OwnershipOwnerCTC MediaKey peopleAlexander Rodnyansky, former CEOHistoryLaunched13 February 1995; 29 years ago (1995-02-13)Former names1995-1999: Channel 311999-2005: M1LinksWebsitewww.domashniy.ru (only in Russia)AvailabilityTerrestrialDigital terrestrial televisionChannel 14 Domashny (Russian: До…

French footballer Mathieu Duhamel Duhamel in 2012Personal informationDate of birth (1984-07-12) 12 July 1984 (age 39)Place of birth Mont-Saint-Aignan, FranceHeight 1.83 m (6 ft 0 in)[1]Position(s) StrikerYouth career1991–1997 Quevilly1997–2000 INF Clairefontaine2000–2001 Rouen2001–2003 QuevillySenior career*Years Team Apps (Gls)2003–2006 Quevilly 22 (3)2006–2007 Rouen 29 (12)2007–2008 Romorantin 29 (9)2008–2009 Laval 33 (11)2009–2010 Créteil 29 (17)…

Spanish professional footballer For the Spanish cyclist, see Ignacio García Camacho. In this Spanish name, the first or paternal surname is Camacho and the second or maternal family name is Barnola. Ignacio Camacho Camacho in action for Málaga in 2012Personal informationFull name Ignacio Camacho Barnola[1]Date of birth (1990-05-04) 4 May 1990 (age 33)[2]Place of birth Zaragoza, Spain[2]Height 1.82 m (6 ft 0 in)[1]Position(s) Defensive…

Nijō Tameyo (二条為世, 1250–1338), dikenal pula sebagai Fujiwara no Tameyo (藤原為世), adalah seorang pendeta Jepang dan penyair waka di akhir periode Kamakura dan awal periode Nanboku-chō. Nama dharmanya adalah Myōshaku (明釈). Biografi Leluhur, kelahiran dan kehidupan awal Nijō Tameyo lahir pada tahun 1250.[1] Ayahnya adalah Fujiwara no Tameuji,[2] dan ibunya adalah putri dari Asukai Norisada [ja].[3] Ia adalah putra tertua Tameuji,[4 …

County in Ohio, United States Not to be confused with Montgomery, Ohio. County in OhioMontgomery CountyCountyCurrent Montgomery County Courthouse SealLocation within the U.S. state of OhioOhio's location within the U.S.Coordinates: 39°45′N 84°17′W / 39.75°N 84.29°W / 39.75; -84.29Country United StatesState OhioFoundedMay 1, 1803[1]Named forRichard MontgomerySeatDaytonLargest cityDaytonArea • Total464 sq mi (1,200 km2)&#…

Hindu temple of goddess Vimala in Puri, India Vimala TempleCluster of temples in the southern part of Jagannath temple complex, including the Vimala temple (extreme right). c. 1890.ReligionAffiliationHinduismDistrictPuriDeityVimala (Bimala)FestivalsDurga PujaGoverning bodyShri Jagannath Temple Administration, PuriLocationLocationJagannath Temple premisesStateOdishaCountryIndiaLocation within OdishaGeographic coordinates19°48′17″N 85°49′6″E / 19.80472°N 85.81833°Eþ…

Questa voce sull'argomento calciatori maliani è solo un abbozzo. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. Cheick Diarra Nazionalità  Mali Altezza 174 cm Calcio Ruolo Attaccante Squadra  Créteil-Lusitanos CarrieraGiovanili  Centre Salif KeitaSquadre di club1 2008-2011 Centre Salif Keita? (?)2011 Stade Malien0 (0)2011-2012 Rennes 220 (17)2011-2013 Rennes19 (1)2013-2014→  Istre…

A selection of Dragon Ball's extensive cast of characters at the conclusion of the manga Dragon Ball is a Japanese media franchise created by Akira Toriyama in 1984. The franchise features an ensemble cast of characters and takes place in the same fictional universe as Toriyama's other work, Dr. Slump. While many of the characters are humans with superhuman strengths or supernatural abilities, the cast also includes anthropomorphic animals, extraterrestrial lifeforms, and deities who govern …

 烏克蘭總理Прем'єр-міністр України烏克蘭國徽現任杰尼斯·什米加尔自2020年3月4日任命者烏克蘭總統任期總統任命首任維托爾德·福金设立1991年11月后继职位無网站www.kmu.gov.ua/control/en/(英文) 乌克兰 乌克兰政府与政治系列条目 宪法 政府 总统 弗拉基米尔·泽连斯基 總統辦公室 国家安全与国防事务委员会 总统代表(英语:Representatives of the President of Ukraine) 总理…

Вулиця КониськогоЛьвів Місцевість ЦентрРайон ЛичаківськийНазва на честь Олександра КониськогоКолишні назви Пекарська нижча, До Сакраменток, Охоронок, Каммервеґ, Охоронок, Дем'яна Бєдногоавстрійського періоду (українською) Пекарська нижчаавстрійського періоду (німець…

Town in Mississippi, United StatesLambert, MississippiTown FlagLocation of Lambert, MississippiLambert, MississippiLocation in the United StatesCoordinates: 34°12′7″N 90°16′59″W / 34.20194°N 90.28306°W / 34.20194; -90.28306CountryUnited StatesStateMississippiCountyQuitmanArea[1] • Total0.85 sq mi (2.19 km2) • Land0.85 sq mi (2.19 km2) • Water0.00 sq mi (0.00 km2)Elevation1…

Romanian politician (1886–1957) For the artist, see Gheorghe Tattarescu. Gheorghe Tătărescu36th Prime Minister of RomaniaIn office25 November 1939 – 4 July 1940MonarchCarol IIPreceded byConstantin ArgetoianuSucceeded byIon GigurtuIn office3 January 1934 – 28 December 1937MonarchCarol IIPreceded byConstantin AnghelescuSucceeded byOctavian GogaVice President of the Council of MinistersIn office6 March 1945 – 5 November 1947MonarchMichael IPrime MinisterPetr…

Kembali kehalaman sebelumnya