An Efficient All-to-All GCD Algorithm for Low Entropy RSA Key Factorization
Elijah Pelofske

TL;DR
This paper introduces a novel binary tree batch GCD algorithm that significantly improves the efficiency of detecting shared prime factors in RSA keys, enhancing the practicality of low entropy RSA key factorization attacks.
Contribution
The paper presents a new binary tree batch GCD algorithm that outperforms existing methods in runtime, enabling more efficient low entropy RSA key factorization.
Findings
The binary tree batch GCD algorithm is approximately 6 times faster than the remainder tree approach.
The new algorithm maintains similar asymptotic complexity but offers practical runtime improvements.
Performance gains are especially notable when many RSA keys share prime factors.
Abstract
RSA is an incredibly successful and useful asymmetric encryption algorithm. One of the types of implementation flaws in RSA is low entropy of the key generation, specifically the prime number creation stage. This can occur due to flawed usage of random prime number generator libraries, or on computers where there is a lack of a source of external entropy. These implementation flaws result in some RSA keys sharing prime factors, which means that the full factorization of the public modulus can be recovered incredibly efficiently by performing a computation GCD between the two public key moduli that share the prime factor. However, since one does not know which of the composite moduli share a prime factor a-priori, to determine if any such shared prime factors exist, an all-to-all GCD attack (also known as a batch GCD attack, or a bulk GCD attack) can be performed on the available public…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsChaos-based Image/Signal Encryption · Advanced Algorithms and Applications · Network Security and Intrusion Detection
