Paper 2025/369

Higher Residuosity Attacks on Small RSA Subgroup Decision Problems

Xiaopeng Zhao, Donghua University
Zhenfu Cao, East China Normal University
Xiaolei Dong, East China Normal University
Zhusen Liu, Hangzhou Innovation Institute of Beihang University
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.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Published by the IACR in PKC 2025
Keywords
Secure two-party comparisonSmall RSA subgroup decision problemHigher residuosity attacks
Contact author(s)
zxp @ dhu edu cn
zfcao @ sei ecnu edu cn
dongxiaolei @ sei ecnu edu cn
zhusen_liu @ 163 com
History
2025-03-04: approved
2025-02-26: received
See all versions
Short URL
https://ia.cr/2025/369
License
No rights reserved
CC0

BibTeX

@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}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.