An Efficient Secure Integer Comparison Protocol Via Private Set Intersection
Secure integer comparison is a basic computing function in many applications, such as online auctions, data mining, etc. In a two-party comparison scenario, Alice and Bob hold two private integers <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$x$</tex> and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$y$</tex> respectively. One of them can obtain the comparison result, without leaking any other information of <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$x$</tex> and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$y$</tex> to each other. At present, there have some methods to solve this problem. Most solutions decompose integers into bitwise representations, and then encrypt each bit for secure comparison. However, this type of solution is expensive for large integer comparisons, because each bit needs to be encrypted and decrypted. In this paper, 0/1 encoding is used to convert integers into binary bit strings and compare them with private set intersection technology. Only a small amount of encryption is needed to perform secure integer comparison, and we apply the protocol to the machine learning decision tree scenario, which can ensure that the final classification result is output correctly without leaking any private data. The results show that our proposed solution has obvious computational efficiency advantages when comparing large integers, and can be applied to more application scenarios.
Authors
- Baodong Qin (ORCID: https://orcid.org/0000-0001-7617-5462)
- Yu-Chi Pu (ORCID: https://orcid.org/0000-0002-1551-5678)
- Xiaohan Yu (ORCID: https://orcid.org/0000-0003-3770-934X)
Institutions
- Xi’an University of Posts and Telecommunications (CN)
Publication Details
- Published
- 2025-03-21
- DOI
- https://doi.org/10.1109/icnlp65360.2025.11108550
- Primary Topic
- Cryptography and Data Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China