International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Gr\"obner Basis Based Cryptanalysis of SHA-1

Authors:
Makoto Sugita
Mitsuru Kawazoe
Hideki Imai
Download:
URL: http://eprint.iacr.org/2006/098
Search ePrint
Search Google
Abstract: Recently, Wang proposed a new method to cryptanalyze SHA-1 and found collisions of $58$-round SHA-1. However many details of Wang's attack are still unpublished, especially, 1) How to find differential paths? 2) How to modify messages properly? For the first issue, some results have already been reported. In our article, we clarify the second issue and give a sophisticated method based on Gr\"obner basis techniques. We propose two algorithm based on the basic and an improved message modification techniques respectively. The complexity of our algorithm to find a collision for 58-round SHA-1 based on the basic message modification is $2^{29}$ message modifications and its implementation is equivalent to $2^{31}$ SHA-1 computation experimentally, whereas Wang's method needs $2^{34}$ SHA-1 computation. We propose an improved message modification and apply it to construct a more sophisticated algorithm to find a collision. The complexity to find a collision for 58-round SHA-1 based on this improved message modification technique is $2^8$ message modifications, but our latest implementation is very slow, equivalent to $2^{31}$ SHA-1 computation experimentally. However we conjecture that our algorithm can be improved by techniques of error correcting code and Gr\"obner basis. By using our methods, we have found many collisions for $58$-round SHA-1.
BibTeX
@misc{eprint-2006-21591,
  title={Gr\"obner Basis Based Cryptanalysis of SHA-1},
  booktitle={IACR Eprint archive},
  keywords={foundations / hash function, SHA-1, Gaussian elimination, Gr\"obner basis},
  url={http://eprint.iacr.org/2006/098},
  note={ m-sugita@ipa.go.jp 13336 received 13 Mar 2006, last revised 7 Jul 2006},
  author={Makoto Sugita and Mitsuru Kawazoe and Hideki Imai},
  year=2006
}