{
  "id": "2009/325",
  "url": "https://opencryptology.org/2009/325",
  "original_url": "https://eprint.iacr.org/2009/325",
  "title": "Characterizing Padding Rules of MD Hash Functions Preserving Collision Security",
  "authors": [
    "Mridul Nandi"
  ],
  "affiliations": null,
  "abstract": "This paper characterizes collision preserving padding rules and provides variants of \\MD (MD) which are having less or no overhead costs due to length. We first show that suffix-free property of padding rule is necessary as well as sufficient to preserve the collision security of MD hash function for an arbitrary domain $\\s^*$. Knowing this, we propose a simple suffix-free padding rule padding only $\\log |M|$ bits for a message $M$, which is less than that of Damg\\aa rd's and Sarkar's padding rules. We also prove that the length-padding is not absolutely necessary. We show that a simple variant of MD with $10^d$-padding (or any injective padding) is collision resistant provided that the underlying compression function is collision resistant after chopping the last-bit. Finally, we design another variant of MD hash function preserving all three basic security notions of hash functions, namely collision and (2nd) preimage. This is an improvement over a recently designed (SAC-08) three-property preserving hash function in terms of both salt size and efficiency.",
  "category": "Foundations",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Characterizing Padding Rules of MD Hash Functions Preserving Collision Security” by Mridul Nandi, Cryptology ePrint Archive, Paper 2009/325, https://eprint.iacr.org/2009/325. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2009-07-07T21:45:00Z",
    "updated": "2009-07-08T12:51:42Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2009/325.pdf",
    "sha256": "b36051cbc5a8360dd8640d4e756bfadca7da2af3dfdc04369ca208fab5b5bdd9",
    "size": 315638,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:20:12Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2009/325/versions/20190225T162012Z.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/325.pdf",
      "size": 315638,
      "sha256": "b36051cbc5a8360dd8640d4e756bfadca7da2af3dfdc04369ca208fab5b5bdd9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260408212829id_/https://eprint.iacr.org/2009/325.pdf",
      "captured_at": "2026-04-08T21:28:29Z",
      "size": 280726
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/325.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "size": 315638
    }
  ],
  "bibtex": "@misc{cryptoeprint:2009/325,\n      author = {Mridul Nandi},\n      title = {Characterizing Padding Rules of MD Hash Functions Preserving Collision Security},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2009/325},\n      year = {2009},\n      url = {https://eprint.iacr.org/2009/325}\n}"
}
