Paper 2013/233
Attacks on JH, Grøstl and SMASH Hash Functions
Yiyuan Luo and Xuejia Lai
Abstract
JH and Grøstl hash functions are two of the five finalists in NIST SHA-3 competition. JH-$s$ and Grøstl-$s$ are based on a $2n$ bit compression function and the final output is truncated to $s$ bits, where $n$ is $512$ and $s$ can be $224$,$256$,$384$ and $512$. Previous security proofs show that JH-$s$ and Grøstl-$s$ are optimal collision resistance without length padding to the last block. In this paper we present significant collision and preimage attacks on JH-$s$ and Grøstl-$s$. For collision and preimage attack, the adversary needs $ 2^{s/4+l/2+1}$ and $2^{(s+l)/2+1}$ queries to the underlying compression function respectively, where $l$ denotes the encoded bit length of the message; for JH, $l=128$ and for Grøstl, $l=64$. If the message length is not padded to the last message block, for $s=224$, the attacker only needs $2^{57}$ and $2^{113}$ compression function queries to mount a collision attack and preimage attack respectively. For the real JH and Grøstl, the message length is encoded into 128 and 64 bits respectively. For JH-512, the collision and preimage attack needs $2^{193}$ and $2^{321}$ queries to the compression function respectively. For Grøstl-512, the collision and preimage attack needs $2^{163}$ and $2^{289}$ queries to the compression function respectively. Our attacks exploit structure flaws in the design of JH and Grøstl. It is easily applied to MJH and SMASH since they have similar structure (we call it Evan-Mansour structure) as the above hash functions. At the same time the provable security of chopMD in the literature is challenged. Through our attack, it is easy to see that the chopMD mode used in JH or Grøstl does not improve its security against collision and preimage attack.
Note: The original title of this paper is <Attacks on JH Hash Function>. We found our attack can also be applied to Grøstl and SMASH since they have similar structure. This is the latest version.
Metadata
- Available format(s)
- Publication info
- Published elsewhere. Unknown where it was published
- Keywords
- Hash FunctionsSHA-3JHGrøstl
- Contact author(s)
- luoyiyuan @ gmail com
- History
- 2013-10-12: last of 6 revisions
- 2013-04-29: received
- See all versions
- Short URL
- https://ia.cr/2013/233
- License
-
CC BY