Paper 2025/369 Original: eprint.iacr.org/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.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2025-02-26: last updated
2025-02-26: published
Short URL
https://ia.cr/2025/369
License
https://creativecommons.org/publicdomain/zero/1.0/

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, this archive does not use cookies or embedded third party content.