HAVAL

HAVAL is a cryptographic hash function. In contrast to it is MD5 with HAVAL, as with other more advanced algorithms, it is possible to generate hashes of variable length, in particular of 128 bits, 160 bits, 192 bits, 224 bits and 256 bits. HAVAL also allows a variable number of turns ( 3, 4, or 5).

HAVAL was invented by Yuliang Zheng, Josef Pieprzyk, Jennifer Seberry and in 1992.

HAVAL hash

The 128 to 256 bits long HAVAL hashes ( also English " message digests " ) are usually 32 -, 40 -, 48 -, 56 - or 64- digit hexadecimal number listed. The following example shows a 43 -byte ASCII input and the corresponding HAVAL hash (in this case, the model with 256 -bit and 5 rounds ):

HAVAL ("The quick brown fox jumps over the lazy dog", 256, 5) =   b89c551cdfe2e06dbd4cea2be1bc7d557416c58ebb4d07cbc94e49f710c55be4 A small change in the message is typically produced a completely different hash. If the d is replaced by a c this is a completely different result:

HAVAL ("The quick brown fox jumps over the lazy cog", 256, 5) =   60983bb8c8f49ad3bea29899b78cd741f4c96e911bbc272e5550a4f195a4077e The hash of a string of zero length is:

HAVAL ("", 256, 5) =   be417bb4dd5cfb76c7126f4f8eeb1553a449039307b1a3cd451dbfdc0fbbe330 security

On August 17, 2004, a possible collision was found by Xiaoyun Wang, Dengguo Feng, Xuejia Lai and Hongbo Yu, why HAVAL ( the variant with 128 bits, and 3 rounds at least ) should be used with caution.

378927
de