Paper 2025/369

Higher Residuosity Attacks on Small RSA Subgroup Decision Problems

Xiaopeng Zhao
Zhenfu Cao
Xiaolei Dong
Zhusen Liu
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.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2025/369,
      author = {Xiaopeng Zhao and Zhenfu Cao and Xiaolei Dong and Zhusen Liu},
      title = {Higher Residuosity Attacks on Small RSA Subgroup Decision Problems},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/369},
      year = {2025},
      url = {https://eprint.iacr.org/2025/369}
}
Category
Attacks and cryptanalysis
License
CC0
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy