In RSA cryptosystem, we generally take 1024 bits long prime numbers p and q. Is any problem if we take 512 bits long prime numbers? What are the security issues may be generated in real time scenario?
Thanks, sir, I agree with you the security level of RSA 512 bits is lower that the security level of RSA 1024 bits. But, I think RSA will not be easily breakable even if we will use 512 bits prime numbers. In RSA cryptosystem, in encryption and decryption procedure no use of p and q prime numbers, only n is required. If you take p and q as 512 bits, then ultimately the maximum length of n is 1024 bits.
Thanks, sir, could you provide me that link, where I can read in detail, how RSA 512 bits or RSA 1024 bit is easily breakable by Supercomputer by the bruteforcing attack?
Yes, now 512 bits, its good for communication data, but for long time or database to store data, it's not good . this dependent on implementation, and the machine.
The strength of RSA is measured in key size, which is the number of bits in n=p*q . 512-bit (155 digit) RSA is no longer considered secure, as modern brute force attacks can extract private keys in just hours, and a similar attack was able to extract a 768-bit (232 digit) private key in 2010. As of 2016, 1024-bit (309 digit) keys are considered risky, and most newly generated keys are 4096-bit (1234 digit).
Oky, Sheela, but this depend on our implementation!!! , if the implementation just for security, then 512-bit it's not good,and the maximum size of data which can be encrypted with RSA is more than 245 bytes, but decryption of a large message may become intolerably expensive.
1024 bit RSA is "only" theoretically weak. The largest factored RSA is RSA-240. RSA-240 has 240 decimal digits (795 bits), and was factored in November 2019 by Fabrice Boudot, Pierrick Gaudry, Aurore Guillevic, Nadia Heninger, Emmanuel Thomé and Paul Zimmermann.
Officially RSA 1024 can not be cracked ,however to be compliant with modern standard requirements and preparing for the future You should always use at least 2048 bit modulus.