{
  "id": "2008/090",
  "url": "https://opencryptology.org/2008/090",
  "original_url": "https://eprint.iacr.org/2008/090",
  "title": "Improving upon HCTR and matching attacks for Hash-Counter-Hash approach",
  "authors": [
    "Mridul Nandi"
  ],
  "affiliations": null,
  "abstract": "McGrew and Fluhrer first proposed hash-counter-hash approach to\nencrypt arbitrary length messages. By its nature, counter can handle\nincomplete message blocks as well as complete message blocks in the\nsame manner. HCTR is the till date best (in terms of efficiency)\nstrong pseudo random permutation or SPRP among all known counter\nbased SPRPs. But as of now, a cubic bound for HCTR is known.\nMoreover, all invocations of underlying block ciphers can not be\nmade in parallel. Our new proposal (we call it HMC or Hash Modified\nCounter) provides a quadratic security bound and all block cipher\ninvocations are parallel in nature even if we have an incomplete\nmessage block. We also present a prp-distinguishing attack on a\ngeneric counter based encryption, which makes $q$ non-adaptive\nencryption queries consisting of $(\\ell+1)$ $n$-bit blocks and has\nsuccess probability roughly $\\ell^2q^2/2^n$. Loosely speaking, the\nsuccess probability matches with the upper bound of distinguishing\nprobability. As a result, we prove that the known quadratic bounds\nfor XCB, HCH and HMC are tight.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Improving upon HCTR and matching attacks for Hash-Counter-Hash approach” by Mridul Nandi, Cryptology ePrint Archive, Paper 2008/090, https://eprint.iacr.org/2008/090. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2008-02-28T19:36:26Z",
    "updated": "2008-02-28T19:36:26Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2008/090.pdf",
    "sha256": "7c42e836cee7e7ff7aece6ade0060008a58a53b6045314db5ea400c0f8a47d49",
    "size": 255015,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:13:43Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2008/090/versions/20190225T161343Z.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/090.pdf",
      "size": 255015,
      "sha256": "7c42e836cee7e7ff7aece6ade0060008a58a53b6045314db5ea400c0f8a47d49",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408212611id_/https://eprint.iacr.org/2008/090.pdf",
      "captured_at": "2026-04-08T21:26:11Z",
      "size": 223097
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2008/090.pdf",
      "captured_at": "2019-02-25T16:13:43Z",
      "size": 255015
    }
  ],
  "bibtex": "@misc{cryptoeprint:2008/090,\n      author = {Mridul Nandi},\n      title = {Improving upon HCTR and matching attacks for Hash-Counter-Hash approach},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2008/090},\n      year = {2008},\n      url = {https://eprint.iacr.org/2008/090}\n}"
}
