Efficient and Privacy-Preserving Bitonic Sorting Under (2,2)-Threshold Paillier

Peiming Xu, Pu Yin, Zhihong Liang, Huan Xu, Chao Hong, Lin Chen2025

Abstract

Sorting over encrypted data is a fundamental building block for privacy-preserving data processing but remains a significant performance challenge. While solutions based on Fully Homomorphic Encryption (FHE) provide powerful capabilities, they often incur substantial computational overhead. To address this, we present an efficient two-party protocol for privacypreserving sorting that operates in a lightweight twin-server model. Our design leverages the data-oblivious properties of the Bitonic sorting network, built upon the (2,2)-Threshold Paillier cryptosystem. The core of our protocol is a novel, highperformance secure compare-and-swap primitive. We further introduce a communication-optimized variant that significantly reduces network latency by employing an alternating initiator model and batch processing of comparison tasks. Our experimental evaluation demonstrates that our optimized protocol substantially outperforms a state-of-the-art FHE framework, achieving speedups of up to $28 \times$ in total runtime and $1500 \times$ in amortized runtime for sorting 128 elements. Our work provides a practical and highly efficient solution for the fundamental task of secure sorting.
BibTeX
@misc{xu2025efficient,
  author = {Peiming Xu and Pu Yin and Zhihong Liang and Huan Xu and Chao Hong and Lin Chen},
  title = {{Efficient and Privacy-Preserving Bitonic Sorting Under (2,2)-Threshold Paillier}},
  year = {2025},
  doi = {10.1109/cbase67452.2025.11335580},
}

Loading related content...

Figure