Comparison of cryptographic hash functions: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Laura240406
Parameters: add note about limited size of 2<sup>64</sup> bytes
 
(No difference)

Latest revision as of 21:08, 6 August 2024

Template:Short description The following tables compare general and technical information for a number of cryptographic hash functions. See the individual functions' articles for further information. This article is not all-inclusive or necessarily up-to-date. An overview of hash function security/cryptanalysis can be found at hash function security summary.

General information

Basic general information about the cryptographic hash functions: year, designer, references, etc.

Function Year Designer Derived from Reference
BLAKE 2008 Jean-Philippe Aumasson
Luca Henzen
Willi Meier
Raphael C.-W. Phan
ChaCha20 Website
Specification
BLAKE2 2012 Jean-Philippe Aumasson
Samuel Neves
Zooko Wilcox-O'Hearn
Christian Winnerlein
BLAKE Website
Specification
Template:IETF RFC
BLAKE3 2020 Jack O'Connor
Jean-Philippe Aumasson
Samuel Neves
Zooko Wilcox-O'Hearn
BLAKE2 Website
Specification
GOST R 34.11-94 1994 FAPSI and VNIIstandart GOST 28147-89 Template:IETF RFC
HAVAL 1992 Yuliang Zheng
Josef Pieprzyk
Jennifer Seberry
Website
Specification
KangarooTwelve 2016 Guido Bertoni
Joan Daemen
Michaël Peeters
Gilles Van Assche
Keccak Website
Specification
MD2 1989 Ronald Rivest Template:IETF RFC
MD4 1990 Template:IETF RFC
MD5 1992 MD4 Template:IETF RFC
MD6 2008 Website
Specification
RIPEMD 1992 The RIPE Consortium[1] MD4
RIPEMD-128
RIPEMD-256
RIPEMD-160
RIPEMD-320
1996 Hans Dobbertin
Antoon Bosselaers
Bart Preneel
RIPEMD Website
Specification
SHA-0 1993 NSA SHA-0
SHA-1 1995 SHA-0 Specification
SHA-256
SHA-384
SHA-512
2002
SHA-224 2004
SHA-3 (Keccak) 2008 Guido Bertoni
Joan Daemen
Michaël Peeters
Gilles Van Assche
RadioGatún Website
Specification
Streebog 2012 FSB, InfoTeCS JSC Template:IETF RFC
Tiger 1995 Ross Anderson
Eli Biham
Website
Specification
Whirlpool 2004 Vincent Rijmen
Paulo Barreto
Website

Parameters

Algorithm Output size (bits) Internal state sizeTemplate:Notetag Block size Length size Word size Rounds
BLAKE2b 512 512 1024 128Template:Notetag 64 12
BLAKE2s 256 256 512 64Template:Notetag 32 10
BLAKE3 UnlimitedTemplate:Notetag 256Template:Notetag 512 64 32 7
GOST 256 256 256 256 32 32
HAVAL 256/224/192/160/128 256 1024 64 32 3/4/5
MD2 128 384 128 32 18
MD4 128 128 512 64 32 3
MD5 128 128 512 64 32 64
PANAMA 256 8736 256 32
RadioGatún UnlimitedTemplate:Notetag 58 words 19 wordsTemplate:Notetag 1–64Template:Notetag 18Template:Notetag
RIPEMD 128 128 512 64 32 48
RIPEMD-128, -256 128/256 128/256 512 64 32 64
RIPEMD-160 160 160 512 64 32 80
RIPEMD-320 320 320 512 64 32 80
SHA-0 160 160 512 64 32 80
SHA-1 160 160 512 64 32 80
SHA-224, -256 224/256 256 512 64 32 64
SHA-384, -512, -512/224, -512/256 384/512/224/256 512 1024 128 64 80
SHA-3 224/256/384/512Template:Notetag 1600 1600 - 2*bits Template:Notetag 64 24
SHA3-224 224 1600 1152 64 24
SHA3-256 256 1600 1088 64 24
SHA3-384 384 1600 832 64 24
SHA3-512 512 1600 576 64 24
Tiger(2)-192/160/128 192/160/128 192 512 64 64 24
Whirlpool 512 512 512 256 8 10

Notes

Template:Notefoot

Compression function

The following tables compare technical information for compression functions of cryptographic hash functions. The information comes from the specifications, please refer to them for more details.

Function Size (bits)Template:Notetag Words ×
Passes =
RoundsTemplate:Notetag
OperationsTemplate:Notetag EndianTemplate:Notetag
Word Digest Chaining
values
Template:Notetag
Computation
valuesTemplate:Notetag
Block Length
Template:Notetag
GOST R 34.11-94 32 Template:Nowrap Template:Nowrap 32 4 A B L S Little
HAVAL-3-128 32 Template:Nowrap Template:Nowrap Template:Nowrap 64 Template:Nowrap A B S Little
HAVAL-3-160 Template:Nowrap
HAVAL-3-192 Template:Nowrap
HAVAL-3-224 Template:Nowrap
HAVAL-3-256 Template:Nowrap
HAVAL-4-128 Template:Nowrap Template:Nowrap
HAVAL-4-160 Template:Nowrap
HAVAL-4-192 Template:Nowrap
HAVAL-4-224 Template:Nowrap
HAVAL-4-256 Template:Nowrap
HAVAL-5-128 Template:Nowrap Template:Nowrap
HAVAL-5-160 Template:Nowrap
HAVAL-5-192 Template:Nowrap
HAVAL-5-224 Template:Nowrap
HAVAL-5-256 Template:Nowrap
MD2 8 Template:Nowrap Template:Nowrap Template:Nowrap Template:Nowrap None Template:Nowrap B N/A
MD4 32 Template:Nowrap Template:Nowrap 64 Template:Nowrap A B S Little
MD5 Template:Nowrap
RIPEMD 32 Template:Nowrap Template:Nowrap Template:Nowrap 64 Template:Nowrap A B S Little
RIPEMD-128 Template:Nowrap
RIPEMD-256 Template:Nowrap
RIPEMD-160 Template:Nowrap Template:Nowrap Template:Nowrap
RIPEMD-320 Template:Nowrap
SHA-0 32 Template:Nowrap Template:Nowrap 64 Template:Nowrap A B S Big
SHA-1
SHA-256 Template:Nowrap Template:Nowrap Template:Nowrap
SHA-224 Template:Nowrap
SHA-512 64 Template:Nowrap Template:Nowrap Template:Nowrap 128 Template:Nowrap
SHA-384 Template:Nowrap
Tiger-192 64 Template:Nowrap Template:Nowrap Template:Nowrap 64 Template:Nowrap A B L S Not Specified
Tiger-160 ×2.5=160
Tiger-128 Template:Nowrap
Function Word Digest Chaining
values
Computation
values
Block Length Words ×
Passes =
Rounds
Operations Endian
Size (bits)

Notes

Template:Notefoot

See also

References

Template:Reflist

Template:Cryptography navbox