Skip to content

Comment on RSA is deceptively simple and funparent

Comments

The issue with RSA is mainly that not all primes are treated equally.

Certain primes are easier to factor which can weaken your encryption. That was the biggest one when we where taught RSA.

I will give you an algorithm that can factor any prime:

  let's p be a prime.
  return the set {1,p}.
I think you meant factor the semi-prime.

I don't think this is true any more. From what I've read, weak primes are rare enough at current RSA sizes that software generally doesn't check for them.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.