Skip to main content

Comparing with RSA

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNSC,volume 5921))

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.

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 mss 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).

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bellare, M., Rogaway, P.: The exact security of digital signatures - How to sign with RSA and Rabin. In: Maurer, U.M. (ed.) EUROCRYPT 1996. LNCS, vol. 1070, pp. 399–416. Springer, Heidelberg (1996)

    Google Scholar 

  2. Ben-Or, M.: Lower bounds for algebraic computation trees. In: STOC 1983 - Proceedings of the fifteenth annual ACM symposium on the Theory of Computing, pp. 80–86. ACM, New York (1983)

    Chapter  Google Scholar 

  3. Boneh, D., Lynn, B., Shacham, H.: Short Signatures from the Weil Pairing. Journal of Cryptology 17, 297–319 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  4. Cathalo, J., Coron, J.-S., Naccache, D.: From fixed-length to arbitrary-length RSA encoding schemes revisited. In: Vaudenay, S. (ed.) PKC 2005. LNCS, vol. 3386, pp. 234–243. Springer, Heidelberg (2005)

    Google Scholar 

  5. Clarke, D., Devadas, S., van Dijk, M., Gassend, B., Suh, G.: Incremental multiset hash functions and their application to memory integrity checking. In: Laih, C.-S. (ed.) ASIACRYPT 2003. LNCS, vol. 2894, pp. 188–207. Springer, Heidelberg (2003)

    Google Scholar 

  6. Coron, J.-S., Koeune, F., Naccache, D.: From fixed-length to arbitrary-length RSA padding schemes. In: Okamoto, T. (ed.) ASIACRYPT 2000. LNCS, vol. 1976, pp. 90–96. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  7. Goldreich, O., Goldwasser, S., Micali, S.: How to construct random functions. Journal of the ACM 33(4), 210–217 (1986)

    Article  MathSciNet  Google Scholar 

  8. Goldwasser, S., Micali, S., Rivest, R.: A Digital signature scheme secure against adaptive chosen-message attacks. SIAM Journal of computing 17, 281–308 (1988)

    Article  MATH  MathSciNet  Google Scholar 

  9. Katriel, I.: On the algebraic complexity of set equality and inclusion. Information Processing Letters 92, 175–178 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  10. Rivest, R., Shamir, A., Adleman, L.: A method for obtaining digital signatures and public-key cryptosystems. Communications of the ACM 21(2), 120–126 (1978)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cathalo, J., Naccache, D., Quisquater, JJ. (2009). Comparing with RSA. In: Parker, M.G. (eds) Cryptography and Coding. IMACC 2009. Lecture Notes in Computer Science, vol 5921. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-10868-6_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-10868-6_19

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-10867-9

  • Online ISBN: 978-3-642-10868-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics