Comparing with RSA

  • Authors:
  • Julien Cathalo;David Naccache;Jean-Jacques Quisquater

  • Affiliations:
  • UCL Crypto Group, Louvain-la-Neuve, Belgium b-1348;Département d'informatique, École normale supérieure, Paris Cedex 05, France f-75230;UCL Crypto Group, Louvain-la-Neuve, Belgium b-1348

  • Venue:
  • Cryptography and Coding '09 Proceedings of the 12th IMA International Conference on Cryptography and Coding
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

A multi-set (ms ) is a set where an element can occur more than once. ms hash functions (mshf s) map ms s of arbitrary cardinality to fixed-length strings. This 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. In 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 quasi-linear-time, quasi-constant-space integer set equality test. An interesting advantage of the proposed algorithm is its ability to compare ms s without sorting them. This can prove useful when comparing very large files which are read-only or otherwise hard to sort (e.g. on tapes, distributed across web-sites etc).