3

I am trying to find a list or table of safe prime numbers i.e. the ones that are based on the Sophie Germain primes i.e. $N = 2p + 1$ where $p$ is also prime.

All I found till now is this database. However the problem with that database is that all Sophie Germain primes in this database have at least 1000 digits. So, is out there any database that has the Sophie Germain primes including the one that are less then 1000 digits long?

I am looking for Sophie Germain primes that will allow me to calculate safe prime numbers that are 512, 768, 1024, 2048, 4096 bit long.

yyyyyyy
  • 12,081
  • 4
  • 47
  • 68
Tito
  • 153
  • 1
  • 5
  • Why don't you simply generate a random number of the desired size, check if it's a safe prime and repeat if it's not? 2) I think there are some RFC documents that define standard primes for use with Diffie-Hellman, these are often safeprimes.
  • – CodesInChaos Jan 07 '15 at 10:24
  • well i already did that and found some safe primes in srp rfc's however i found them only till 1024 bits and not above. – Tito Jan 07 '15 at 12:41
  • CodesInChaos your idea was the correct one rfc5054 appendix A. Thank you. – Tito Jan 07 '15 at 19:54