{
  "id": "2009/021",
  "url": "https://opencryptology.org/2009/021",
  "original_url": "https://eprint.iacr.org/2009/021",
  "title": "Comparing With RSA",
  "authors": [
    "Julien Cathalo",
    "David Naccache",
    "Jean-Jacques Quisquater"
  ],
  "affiliations": null,
  "abstract": "A multi-set (MS) is a set where an element can occur more than once. MS hash functions (MSHFs) map MSs of arbitrary cardinality to fixed-length strings.\n\nThis paper introduces a new RSA-based MSHF. The new function is efficient and produces small hashes. We prove that the proposed MSHF is collision-resistant under the assumption of unforgeability of deterministic RSA signatures.\n\nIn many practical applications, programmers need to compare two (unordered) sets of integers. A trivial solution consists in sorting both sets ($\\mathcal{O}(n \\log n)$) and comparing them linearly. We show how MS hash functions can be turned into a linear-time, constant-space integer set equality test.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Comparing With RSA” by Julien Cathalo, David Naccache, Jean-Jacques Quisquater, Cryptology ePrint Archive, Paper 2009/021, https://eprint.iacr.org/2009/021. 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-01-13T05:51:39Z",
    "updated": "2009-01-13T05:51:39Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2009/021.pdf",
    "sha256": "eb8576e96dcf1cca9ee72de5f9d30f44e461a7dde9cbb5b6c32618c93f33186d",
    "size": 218442,
    "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/021/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/021.pdf",
      "size": 218442,
      "sha256": "eb8576e96dcf1cca9ee72de5f9d30f44e461a7dde9cbb5b6c32618c93f33186d",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260225123842id_/https://eprint.iacr.org/2009/021.pdf",
      "captured_at": "2026-02-25T12:38:42Z",
      "size": 195301
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2009/021.pdf",
      "captured_at": "2019-02-25T16:20:12Z",
      "size": 218442
    }
  ],
  "bibtex": "@misc{cryptoeprint:2009/021,\n      author = {Julien Cathalo and David Naccache and Jean-Jacques Quisquater},\n      title = {Comparing With RSA},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2009/021},\n      year = {2009},\n      url = {https://eprint.iacr.org/2009/021}\n}"
}
