{
  "id": "2010/602",
  "url": "https://opencryptology.org/2010/602",
  "original_url": "https://eprint.iacr.org/2010/602",
  "title": "An Improved Algebraic Attack on Hamsi-256",
  "authors": [
    "Itai Dinur",
    "Adi Shamir"
  ],
  "affiliations": null,
  "abstract": "Hamsi is one of the $14$ second-stage candidates in NIST's SHA-3\ncompetition. The only previous attack on this hash function was a\nvery marginal attack on its 256-bit version published by Thomas Fuhr\nat Asiacrypt $2010$, which is better than generic attacks only for\nvery short messages of fewer than $100$ 32-bit blocks, and is only\n$26$ times faster than a straightforward exhaustive search attack. In\nthis paper we describe a different algebraic attack which is less\nmarginal: It is better than the best known generic attack for all\npractical message sizes (up to $4$ gigabytes), and it outperforms\nexhaustive search by a factor of at least $512$. The attack is based\non the observation that in order to discard a possible second\npreimage, it suffices to show that one of its hashed output bits is\nwrong. Since the output bits of the compression function of Hamsi-256\ncan be described by low degree polynomials, it is actually faster to\ncompute a small number of output bits by a fast polynomial evaluation\ntechnique rather than via the official algorithm.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“An Improved Algebraic Attack on Hamsi-256” by Itai Dinur, Adi Shamir, Cryptology ePrint Archive, Paper 2010/602, https://eprint.iacr.org/2010/602. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2010-11-25T05:27:36Z",
    "updated": "2011-03-20T15:49:45Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2010/602.pdf",
    "sha256": "0af28f33352be4f03250aa637dca57009a938cf90359a45753662b97f23280e7",
    "size": 249055,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:24:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2010/602/versions/20190225T162428Z.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/602.pdf",
      "size": 249055,
      "sha256": "0af28f33352be4f03250aa637dca57009a938cf90359a45753662b97f23280e7",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260415034950id_/https://eprint.iacr.org/2010/602.pdf",
      "captured_at": "2026-04-15T03:49:50Z",
      "size": 222986
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2010/602.pdf",
      "captured_at": "2019-02-25T16:24:28Z",
      "size": 249055
    }
  ],
  "bibtex": "@misc{cryptoeprint:2010/602,\n      author = {Itai Dinur and Adi Shamir},\n      title = {An Improved Algebraic Attack on Hamsi-256},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2010/602},\n      year = {2010},\n      url = {https://eprint.iacr.org/2010/602}\n}"
}
