IEEE Access (Jan 2021)

Efficient Two-Party Integer Comparison With Block Vectorization Mechanism

  • Thai-Hung Nguyen,
  • Kok-Seng Wong,
  • Thomas Oikonomou

DOI
https://doi.org/10.1109/ACCESS.2021.3110055
Journal volume & issue
Vol. 9
pp. 123484 – 123492

Abstract

Read online

Private integer comparison has been an essential computation function for many applications, including online auction, credential identification, data mining, and joint bidding. In the setting of two-party computation, two parties with private inputs ( $x$ and $y$ ) want to jointly compare them without revealing the value of those inputs to others (also known as the Millionaires’ problem) while the output should ensure correctness and preserve data privacy. The private inputs only can be revealed if they are equal, i.e., $x=y$ . Many related works have been proposed to solve the integer comparison problem in various settings, focusing on different properties such as round and computation complexity. Most solutions decompose integers into bitwise representation and then securely evaluate the function in a Boolean circuit on encrypted bits. However, this type of solution is costly (especially for large integers) as each bit requires encryption and decryption. In this paper, we transform the private integer comparison into a block comparison problem. In particular, we employ a block vectorization mechanism to encode the private inputs into blocks. We show the security of our two-party protocol in the semi-honest model. Also, we implement the protocol to demonstrate its efficiency using block vectorization mechanism and homomorphic encryption. The experimental result proves that our proposed solution achieves high efficiency, particularly for large integer comparisons.

Keywords