r/computerscience • u/Zizosk • Mar 20 '25
New prime algorithm I just made
Hi, I just published a research paper about a new prime generation algorithm that's alot more memory efficient than the sieve of Eratosthenes, and is faster at bigger numbers from some tests I made. Here's the link to the paper : https://doi.org/10.5281/zenodo.15055003 there's also a github link with the open-source python code, what do you think?
99
Upvotes
View all comments
3
u/Cybasura Mar 21 '25 edited Mar 21 '25
Some technical issues I have with this proposal just from the implementation point of view
Note that i'm not a PHD writer, though i'm a computer science graduate in software development and cybersecurity with a current focus in cybersecurity + cryptography
Until those are answered (and unfortunately, alot more rewrites and reworking), I dont think this is applicable in any components that requires serious mathematics, especially cryptography where algorithms requiring prime numbers are usually very picky because having unstable prime number generation algorithms can mean the resulting keys are completely unstable, irregular and uncheckable and borderline random, which is unacceptable
I mean, just imagine if you are using a Private Key Encryption scheme like RSA, and your definition of private and public keys are completely broken, where (alpha x beta) = value != (alpha x beta)
How would you ever hope to verify, as the private and public keys are commonly multi-digit bits length prime numbers, not some 2 or 3 digit numbers