2024-04-19 22:27:56 -07:00
..
2024-04-19 22:27:56 -07:00
2024-04-19 22:27:56 -07:00

Weak primes in RSA private key - Fermat's factorization method

  • The RSA modulus is constructed from two "random" prime numbers
  • For the special case where the primes are close, Fermat's factorization method can be applied to factor the modulus with ease
  • However, for a 2048-bit key, this works only if the first approx. 500 bits of the prime factors are identical
  • The probability of this happening on a properly implemented random prime generator is approx. 1 in 2500
  • Only feasible if the above constraint is satisfied, else computationally expensive(infeasible?)
  • References: