no, that’s definitely not how it is done. Say you want to find a prime of 512 bi...

no, that’s definitely not how it is done. Say you want to find a prime of 512 bi...

2 novembre 2016 · 1 min. de lecture
quora Quora

Réponse publiée sur Quora

no, that’s definitely not how it is done. Say you want to find a prime of 512 bits for a RSA key. Using the form on Online RSA key generation you get for example 7695569724472218968357329983247783518365587380788656749355931322901061644229490935790270202575436100837766691896209961622963876832779623061869802179230227 which has 154 decimals. So its square root has 77 decimals, which means your method consists in trying to divide the number above by all primes up to 1077 . Now if you use a Prime-counting function - Wikipedia you’ll find there are about 5.67*1074 such primes. No supercomputer can try the divisions in the lifetime of the Universe.

Sorry, but I downvote you because you should “know” your answer is good, not “believe” it.

Dr. Goulu
Auteurs
Dr. Goulu (il/lui)
Ingénieur à la retraite, toujours curieux et voyageur
EPFL MS Informatique 1988, PhD automatique 1994, eMBA Management of Technology

comments powered by Disqus