by throwaway81523 · 4y ago · 0 comments
> Normally for RSA you pick 2 random numbers and then find a prime close to each.
I.e. if you pick a number and then search upwaard til you find a prime, that gives a non-uniform distribution on the primes in that range. You instead want to pick a random number, and if it's composite, throw it away and pick another random number til you get a prime. Then repeat to get second prime.
(This is a relatively recent result. And as I mentioned in my other comment, this is not a defense of the article!)