Skip to main content
QUICK REVIEW

[Paper Review] Some Efficient Solutions to Yao's Millionaire Problem

Ashish Kumar, Anupam Gupta|arXiv (Cornell University)|Oct 30, 2013
Cryptography and Data SecurityComputer Science14 references5 citations
TL;DR

This paper presents three efficient, secure two-party protocols for Yao's Millionaire Problem, enabling Alice and Bob to compare private integers without revealing them. The first uses partially homomorphic encryption for a 4-round, low-complexity solution; the second leverages an untrusted third party and order-preserving functions to achieve linear communication; the third uses oblivious transfer and pseudorandom functions with quadratic communication but high simplicity. The key contribution is practical, secure comparison protocols with varying trade-offs in communication, computation, and trust assumptions.

ABSTRACT

We present three simple and efficient protocol constructions to solve Yao's Millionaire Problem when the parties involved are non-colluding and semi-honest. The first construction uses a partially homomorphic Encryption Scheme and is a 4-round scheme using 2 encryptions, 2 homomorphic circuit evaluations (subtraction and XOR) and a single decryption. The second construction uses an untrusted third party and achieves a communication overhead linear in input bit-size with the help of an order preserving function.Moreover, the second construction does not require an apriori input bound and can work on inputs of different bit-sizes. The third construction does not use a third party and, even though, it has a quadratic communication overhead, it is a fairly simple construction.

Motivation & Objective

  • To design efficient, secure two-party computation protocols for comparing private integers without revealing them.
  • To reduce communication and computational overhead in solving the Millionaire Problem under semi-honest, non-colluding party assumptions.
  • To explore trade-offs between communication complexity, reliance on third parties, and protocol simplicity.
  • To provide practical alternatives to existing exponential or high-overhead solutions in secure computation.
  • To lay groundwork for lower-bound analysis of secure function evaluation complexity.

Proposed method

  • Protocol A uses a partially homomorphic encryption scheme supporting addition and XOR to compute (a - b) ⊕ R homomorphically, with Bob decrypting and sending only the MSB of the result to Alice.
  • Protocol B introduces an untrusted third party and constructs an order-preserving function F such that F(x) < F(y) iff x < y, enabling linear communication in input bit-size.
  • Protocol C uses 1-out-of-2 oblivious transfer to securely transfer function values f_i(a_i) for each bit of Alice’s input, with F(a) computed as a sum of these values.
  • Random values f_i are generated from a single seed using a pseudorandom generator (PRG), ensuring security and efficiency in parameter selection.
  • All protocols are designed for semi-honest, non-colluding parties and rely on standard cryptographic assumptions: homomorphic encryption, PRG security, and 1-out-of-2 OT security.
  • The constructions avoid prior exponential-time solutions and aim for practicality through efficient operations and minimal rounds.

Experimental results

Research questions

  • RQ1Can the Millionaire Problem be solved with linear communication overhead using an untrusted third party?
  • RQ2Can a secure comparison protocol be designed without a third party while maintaining simplicity and correctness?
  • RQ3What are the trade-offs between communication complexity, computation cost, and reliance on trusted components in secure two-party comparison?
  • RQ4How can homomorphic encryption and oblivious transfer be combined to build efficient, secure comparison protocols?
  • RQ5Can a protocol be constructed that works on inputs of different bit-sizes without requiring a priori bounds?

Key findings

  • Protocol A achieves a 4-round, 2-encryption, 2-homomorphic-evaluation, and 1-decryption solution using partially homomorphic encryption with additive and XOR properties.
  • Protocol B achieves linear communication complexity O(n) in input bit-size by using an order-preserving function and an untrusted third party, without requiring input size bounds.
  • Protocol C has quadratic communication overhead O(n²) but is simple and does not require a third party, relying on 1-out-of-2 oblivious transfer and PRG-based pseudorandom function generation.
  • All protocols are secure under standard assumptions: the security of the underlying encryption scheme, PRG, and OT protocol, with no leakage beyond the comparison result.
  • The protocols demonstrate practical feasibility with low computational cost, especially when using efficient homomorphic schemes and pseudorandom generators.
  • The paper establishes a foundation for future work on lower bounds in secure function evaluation, particularly for comparison and general functions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.