International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

Higher Residuosity Attacks on Small RSA Subgroup Decision Problems

Authors:
Xiaopeng Zhao , Donghua University
Zhenfu Cao , East China Normal University
Xiaolei Dong , East China Normal University
Zhusen Liu , Hangzhou Innovation Institute of Beihang University
Download:
Search ePrint
Search Google
Conference: PKC 2025
Abstract: Secure two-party comparison, known as Yao's millionaires' problem, has been a fundamental challenge in privacy-preserving computation. It enables two parties to compare their inputs without revealing the exact values of those inputs or relying on any trusted third party. One elegant approach to secure computation is based on homomorphic encryption. Recently, building on this approach, Carlton et al. (CT-RSA 2018) and Bourse et al. (CT-RSA 2020) presented novel solutions for the problem of secure integer comparison. These protocols have demonstrated significantly improved performance compared to the well-known and frequently used DGK protocol (ACISP 2007 and Int. J. Appl. Cryptogr. 1(4),323–324, 2009). In this paper, we introduce a class of higher residuosity attacks, which can be regarded as an extension of the classical quadratic residuosity attack on the decisional Diffie-Hellman problem. We demonstrate that the small RSA subgroup decision problems, upon which both the CEK and BST protocols are based, are not difficult to solve when the prime base \( p_0 \) is small (e.g., \( p_0 < 100 \)). Under these conditions, the protocols achieve optimal overall performance. Furthermore, we offer recommendations for precluding such attacks, including one approach that does not adversely affect performance. We hope that these attacks can be applied to analyze other number-theoretic hardness assumptions.
BibTeX
@inproceedings{pkc-2025-35213,
  title={Higher Residuosity Attacks on Small RSA Subgroup Decision Problems},
  publisher={Springer-Verlag},
  author={Xiaopeng Zhao and Zhenfu Cao and Xiaolei Dong and Zhusen Liu},
  year=2025
}