RESEARCH STARTER
RSA (cryptosystem)
RSA (Rivest-Shamir-Adleman) is a widely used cryptosystem designed for secure data transmission over insecure networks, such as the Internet. Developed in the 1970s by Ron Rivest, Adi Shamir, and Leonard Adleman at MIT, RSA employs asymmetric cryptography, which utilizes a pair of keys: a public key for encryption and a private key for decryption. The security of RSA relies on the mathematical challenge of factoring large prime numbers, which makes it computationally infeasible to derive the private key from the public key.
The RSA process begins by generating two large prime numbers, which are multiplied to produce a modulus. This modulus forms part of both the public and private keys, alongside the public exponent. The public key can be shared openly, allowing anyone to encrypt messages, while the private key must remain confidential to ensure that only the intended recipient can decrypt the information. RSA's complexity and robustness have made it a cornerstone of modern computer security, enabling secure communication and digital signatures across various platforms.
Authored By: Sheposh, Richard 1 of 4
Published In: 2017 2 of 4
- Related Topics:
3 of 4
- Related Articles:A Biometric Key-Enhanced Multimedia Encryption Algorithm for Social Media Blockchain.;AN ADAPTIVE ELLIPTICAL CURVE CRYPTOGRAPHY-RIVEST-SHAMIR-ADLEMAN-BASED ENCRYPTION FOR IoT HEALTHCARE SECURITY MODEL WITH BLOCKCHAIN TECHNOLOGY.;High-Performance Multi-RNS-Assisted Concurrent RSA Cryptosystem Architectures.;Incorrectly Generated RSA Keys: How I Learned To Stop Worrying And Recover Lost Plaintexts.;Wireless Sensor Network Security Analysis for Data and Aggregation.
4 of 4
Full Article
RSA is a type of cryptosystem—a method of encoding and decoding messages—used to send sensitive data and information over an insecure network such as the Internet. RSA was developed in the 1970s and named after its creators, Ron Rivest, Adi Shamir, and Leonard Adleman, computer scientists at the Massachusetts Institute of Technology (MIT). The RSA system is an example of asymmetric cryptography, which uses a public key to encrypt data and a private key to decrypt data. RSA data keys are derived from factors based on two large prime numbers—numbers divisible only by 1 and themselves—creating a solution considered too time-consuming to decode without the accompanying key. On the strength of its complexity and the ability of both public and private keys to encrypt and decrypt data, RSA is one of the most widely used asymmetric cryptosystems in computer security.
Background
Coded messages and cryptography are ancient concepts that are almost as old as language itself. Egyptian priests of the third millennium BCE used a secret language they considered divine and unworthy to be understood by the average person. This language was written in coded symbols and jealously guarded by the priests. Many early forms of cryptography—a name derived from the ancient Greek kryptos (hidden) and graphe (writing)—were simple substitution ciphers. These coded messages either used a reversed alphabet or replaced one letter with another from a corresponding set of scrambled letters. While these codes were not too difficult to decipher with a little work, at a time when literacy was uncommon, they were usually sufficient.
As new ways were devised to break coded information, the methods of encryption grew in complexity over the centuries. By the late twentieth century, technology had increased to the point where a sophisticated system was necessary to protect sensitive information. Prior to the 1970s, encryption and decryption were performed using the same key. A key is a variable set of values generated by a mathematical formula called an algorithm. The key creates a unique string of encoded, or scrambled, information that can be relayed to a destination. At the destination, another version of the same key is used to unscramble the encoded data into its original form. The larger the key, the more difficult the encryption is to break. Private keys, or secret keys, are kept only by authorized parties at the source and destination of the information. Private-key cryptography is considered safe as long as the key is not stolen or intercepted.
Overview
As technology developed throughout the 1970s, it became more common for data to be transmitted through computer networks. This presented a problem for private-key cryptography since both sender and receiver needed to have the same private key for information to be transmitted securely. Sending the private key through a network was risky since the data could be intercepted. Stanford University researchers Whitfield Diffie and Martin Hellman solved that problem in 1976 by introducing public-key cryptography. In this system, a public encryption key is openly published and available to be accessed by any computer. Data is encrypted using the public key, but it can only be translated by a private decryption key at the receiving computer. Computers could authenticate the source of the information by using a digital signature associated with a unique private key.
In 1977, MIT computer scientist Ron Rivest came up with an algorithm he felt was more practical than Diffie and Hellman’s method. Rivest shared his idea with colleagues Adi Shamir and Leonard Adleman, and the trio developed a new public-key cryptosystem they named using their initials—RSA. The RSA cryptosystem was published in a 1977 edition of Scientific American magazine and distributed free to anyone who submitted a stamped, self-addressed envelope to the developers. Thousands of people worldwide took them up on the offer.
The RSA cryptosystem works by running an algorithm that generates two random prime numbers. The numbers—designated as p and q—must be large prime numbers and should not be too close in value. In cryptosystem terms, a number is “large” if it is at least 2048 bits or more. A bit, which is short for binary digit, is the smallest unit of data used by a computer. A 2048-bit number translates to 617 decimal digits. Multiplying p and q provides a value (n) known as the modulus. The modulus is used as the basis for both public and private keys and must be at least 2048 bits, a measure known as the key length.
The public key consists of the modulus and another number called the public exponent (e). The number 65537 is often chosen for the value e since it is a prime number that is not too large. The public exponent does not have to be kept secret since the public key is available to anyone. The private key uses the modulus and a private exponent (d) that is generated by an algorithm and kept secret by the decryption source.
The sending computer begins the encryption process by first obtaining the receiving computer’s public key, which consists of the modulus and public exponent. The computer uses this information to convert the data—in a readable form called plaintext—into an unintelligible code known as ciphertext. The ciphertext is transmitted over the network to the receiving computer where the private key—the modulus and private exponent—decrypt the data back into plaintext. The RSA cryptosystem allows both information and the digital signature to be sent in this manner. The National Institute of Standards and Technology (NIST) finalized post-quantum cryptographic standards, including ML-KEM (Kyber) for key establishment and ML-DSA (Dilithium) and SLH-DSA (SPHINCS+) for digital signatures, with federal systems required to transition to these algorithms between 2027 and 2033.
The effectiveness of the RSA system is based on the difficulty of factoring large numbers that are products of prime numbers. Generating random prime numbers is an easy task, as is multiplying them to get a result. Factoring is the mathematical process of separating a number into smaller numbers that multiply to form it. For example, factors of 15 would be 1, 3, 5, and 15 since 1 time 15 and 3 times 5 are the only combinations that equal 15. Prime numbers can only be factored by 1 and themselves. Determining if a sufficiently large number is a prime number by testing equations to see if they match is a long, complicated process. Earlier estimates suggested that testing a 1024-bit number to determine if it is a prime number would take a multimillion-dollar computer a year to complete the task. Quantum-assisted factorization has been demonstrated on small RSA keys, including a 90-bit RSA modulus, indicating measurable progress toward practical quantum-based factoring. Advances in quantum computing have reduced the number of qubits needed to break RSA-2048 from millions to under one million, with some estimates suggesting this could be possible around 2030.
Bibliography
“China’s 90-Bit Quantum Code Breakthrough: How Close Are We to the ‘Q-Day’ Data Meltdown?” The Hack Academy, 23 Apr. 2025, www.thehackacademy.com/feature/chinas-90-bit-quantum-code-breakthrough-how-close-are-we-to-the-q-day-data-meltdown/. Accessed 19 Mar. 2026.
D’Agapeyeff, Alexander. Codes and Ciphers—A History of Cryptography. Read Books, 2013.
Gupta, Deepak. “Post-Quantum Cryptography for Authentication: The Enterprise Migration Guide 2026.” Security Boulevard, 12 Mar. 2026, securityboulevard.com/2026/03/post-quantum-cryptography-for-authentication-the-enterprise-migration-guide-2026/. Accessed 19 Mar. 2026.
Gupta, Prakash C. “RSA Cryptosystem.” Cryptography and Network Security. PHI Learning, 2015, pp. 128–34.
“History of Encryption.” SANS Institute, www.sans.org/reading-room/whitepapers/vpns/history-encryption-730. Accessed 19 Mar. 2026.
Ireland, David. “RSA Algorithm.” DI Management Services, 6 Dec. 2016, www.di-mgt.com.au/rsa_alg.html. Accessed 19 Mar. 2026.
Ivezic, Marin. “Quantum Breakthrough Slashes Qubit Needs for RSA-2048 Factoring.” PostQuantum, 28 May 2025, postquantum.com/quantum-research/quantum-breakthrough-rsa-2048/. Accessed 19 Mar. 2026.
Kaliski, Burt. “The Mathematics of the RSA Public-Key Cryptosystem.” RSA Laboratories, www.mathaware.org/mam/06/Kaliski.pdf. Accessed 19 Mar. 2026.
“RSA Algorithm in Cryptography.” Geeks for Geeks, 23 July 2025, www.geeksforgeeks.org/rsa-algorithm-cryptography/. Accessed 19 Mar. 2026.
“RSA Algorithm (Rivest-Shamir-Adleman).” Tech Target, searchsecurity.techtarget.com/definition/RSA. Accessed 19 Mar. 2026.
Weisstein, Eric W. “RSA Encryption.” Wolfram MathWorld, mathworld.wolfram.com/RSAEncryption.html. Accessed 19 Mar. 2026.
Full Article
RSA is a type of cryptosystem—a method of encoding and decoding messages—used to send sensitive data and information over an insecure network such as the Internet. RSA was developed in the 1970s and named after its creators, Ron Rivest, Adi Shamir, and Leonard Adleman, computer scientists at the Massachusetts Institute of Technology (MIT). The RSA system is an example of asymmetric cryptography, which uses a public key to encrypt data and a private key to decrypt data. RSA data keys are derived from factors based on two large prime numbers—numbers divisible only by 1 and themselves—creating a solution considered too time-consuming to decode without the accompanying key. On the strength of its complexity and the ability of both public and private keys to encrypt and decrypt data, RSA is one of the most widely used asymmetric cryptosystems in computer security.
Background
Coded messages and cryptography are ancient concepts that are almost as old as language itself. Egyptian priests of the third millennium BCE used a secret language they considered divine and unworthy to be understood by the average person. This language was written in coded symbols and jealously guarded by the priests. Many early forms of cryptography—a name derived from the ancient Greek kryptos (hidden) and graphe (writing)—were simple substitution ciphers. These coded messages either used a reversed alphabet or replaced one letter with another from a corresponding set of scrambled letters. While these codes were not too difficult to decipher with a little work, at a time when literacy was uncommon, they were usually sufficient.
As new ways were devised to break coded information, the methods of encryption grew in complexity over the centuries. By the late twentieth century, technology had increased to the point where a sophisticated system was necessary to protect sensitive information. Prior to the 1970s, encryption and decryption were performed using the same key. A key is a variable set of values generated by a mathematical formula called an algorithm. The key creates a unique string of encoded, or scrambled, information that can be relayed to a destination. At the destination, another version of the same key is used to unscramble the encoded data into its original form. The larger the key, the more difficult the encryption is to break. Private keys, or secret keys, are kept only by authorized parties at the source and destination of the information. Private-key cryptography is considered safe as long as the key is not stolen or intercepted.
Overview
As technology developed throughout the 1970s, it became more common for data to be transmitted through computer networks. This presented a problem for private-key cryptography since both sender and receiver needed to have the same private key for information to be transmitted securely. Sending the private key through a network was risky since the data could be intercepted. Stanford University researchers Whitfield Diffie and Martin Hellman solved that problem in 1976 by introducing public-key cryptography. In this system, a public encryption key is openly published and available to be accessed by any computer. Data is encrypted using the public key, but it can only be translated by a private decryption key at the receiving computer. Computers could authenticate the source of the information by using a digital signature associated with a unique private key.
In 1977, MIT computer scientist Ron Rivest came up with an algorithm he felt was more practical than Diffie and Hellman’s method. Rivest shared his idea with colleagues Adi Shamir and Leonard Adleman, and the trio developed a new public-key cryptosystem they named using their initials—RSA. The RSA cryptosystem was published in a 1977 edition of Scientific American magazine and distributed free to anyone who submitted a stamped, self-addressed envelope to the developers. Thousands of people worldwide took them up on the offer.
The RSA cryptosystem works by running an algorithm that generates two random prime numbers. The numbers—designated as p and q—must be large prime numbers and should not be too close in value. In cryptosystem terms, a number is “large” if it is at least 2048 bits or more. A bit, which is short for binary digit, is the smallest unit of data used by a computer. A 2048-bit number translates to 617 decimal digits. Multiplying p and q provides a value (n) known as the modulus. The modulus is used as the basis for both public and private keys and must be at least 2048 bits, a measure known as the key length.
The public key consists of the modulus and another number called the public exponent (e). The number 65537 is often chosen for the value e since it is a prime number that is not too large. The public exponent does not have to be kept secret since the public key is available to anyone. The private key uses the modulus and a private exponent (d) that is generated by an algorithm and kept secret by the decryption source.
The sending computer begins the encryption process by first obtaining the receiving computer’s public key, which consists of the modulus and public exponent. The computer uses this information to convert the data—in a readable form called plaintext—into an unintelligible code known as ciphertext. The ciphertext is transmitted over the network to the receiving computer where the private key—the modulus and private exponent—decrypt the data back into plaintext. The RSA cryptosystem allows both information and the digital signature to be sent in this manner. The National Institute of Standards and Technology (NIST) finalized post-quantum cryptographic standards, including ML-KEM (Kyber) for key establishment and ML-DSA (Dilithium) and SLH-DSA (SPHINCS+) for digital signatures, with federal systems required to transition to these algorithms between 2027 and 2033.
The effectiveness of the RSA system is based on the difficulty of factoring large numbers that are products of prime numbers. Generating random prime numbers is an easy task, as is multiplying them to get a result. Factoring is the mathematical process of separating a number into smaller numbers that multiply to form it. For example, factors of 15 would be 1, 3, 5, and 15 since 1 time 15 and 3 times 5 are the only combinations that equal 15. Prime numbers can only be factored by 1 and themselves. Determining if a sufficiently large number is a prime number by testing equations to see if they match is a long, complicated process. Earlier estimates suggested that testing a 1024-bit number to determine if it is a prime number would take a multimillion-dollar computer a year to complete the task. Quantum-assisted factorization has been demonstrated on small RSA keys, including a 90-bit RSA modulus, indicating measurable progress toward practical quantum-based factoring. Advances in quantum computing have reduced the number of qubits needed to break RSA-2048 from millions to under one million, with some estimates suggesting this could be possible around 2030.
Bibliography
“China’s 90-Bit Quantum Code Breakthrough: How Close Are We to the ‘Q-Day’ Data Meltdown?” The Hack Academy, 23 Apr. 2025, www.thehackacademy.com/feature/chinas-90-bit-quantum-code-breakthrough-how-close-are-we-to-the-q-day-data-meltdown/. Accessed 19 Mar. 2026.
D’Agapeyeff, Alexander. Codes and Ciphers—A History of Cryptography. Read Books, 2013.
Gupta, Deepak. “Post-Quantum Cryptography for Authentication: The Enterprise Migration Guide 2026.” Security Boulevard, 12 Mar. 2026, securityboulevard.com/2026/03/post-quantum-cryptography-for-authentication-the-enterprise-migration-guide-2026/. Accessed 19 Mar. 2026.
Gupta, Prakash C. “RSA Cryptosystem.” Cryptography and Network Security. PHI Learning, 2015, pp. 128–34.
“History of Encryption.” SANS Institute, www.sans.org/reading-room/whitepapers/vpns/history-encryption-730. Accessed 19 Mar. 2026.
Ireland, David. “RSA Algorithm.” DI Management Services, 6 Dec. 2016, www.di-mgt.com.au/rsa_alg.html. Accessed 19 Mar. 2026.
Ivezic, Marin. “Quantum Breakthrough Slashes Qubit Needs for RSA-2048 Factoring.” PostQuantum, 28 May 2025, postquantum.com/quantum-research/quantum-breakthrough-rsa-2048/. Accessed 19 Mar. 2026.
Kaliski, Burt. “The Mathematics of the RSA Public-Key Cryptosystem.” RSA Laboratories, www.mathaware.org/mam/06/Kaliski.pdf. Accessed 19 Mar. 2026.
“RSA Algorithm in Cryptography.” Geeks for Geeks, 23 July 2025, www.geeksforgeeks.org/rsa-algorithm-cryptography/. Accessed 19 Mar. 2026.
“RSA Algorithm (Rivest-Shamir-Adleman).” Tech Target, searchsecurity.techtarget.com/definition/RSA. Accessed 19 Mar. 2026.
Weisstein, Eric W. “RSA Encryption.” Wolfram MathWorld, mathworld.wolfram.com/RSAEncryption.html. Accessed 19 Mar. 2026.
More Like ThisRelated Articles
Related Articles (5)
Related Articles (5)
- A Biometric Key-Enhanced Multimedia Encryption Algorithm for Social Media Blockchain.Published In: Journal of Circuits, Systems & Computers, 2024, v. 33, n. 11. P. 1Authored By: Liu, Tao; Yu, ZhongyangPublication Type: Academic Journal
- AN ADAPTIVE ELLIPTICAL CURVE CRYPTOGRAPHY-RIVEST-SHAMIR-ADLEMAN-BASED ENCRYPTION FOR IoT HEALTHCARE SECURITY MODEL WITH BLOCKCHAIN TECHNOLOGY.Published In: Journal of Mechanics in Medicine & Biology, 2024, v. 24, n. 4. P. 1Authored By: MOHANA, M.; DEOTARE, VILAS V.; PREETHA, N. S. NINU; BRAMMYA, G.Publication Type: Academic Journal
- High-Performance Multi-RNS-Assisted Concurrent RSA Cryptosystem Architectures.Published In: Journal of Circuits, Systems & Computers, 2023, v. 32, n. 15. P. 1Authored By: Elango, S.; Sampath, P.; Raja Sekar, S.; Philip, Sajan P; Danielraj, A.Publication Type: Academic Journal
- Incorrectly Generated RSA Keys: How I Learned To Stop Worrying And Recover Lost Plaintexts.Published In: Computer Journal, 2023, v. 66, n. 6. P. 1342Authored By: Shumow, DanielPublication Type: Academic Journal
- Wireless Sensor Network Security Analysis for Data and Aggregation.Published In: Journal of Interconnection Networks, 2023, v. 23, n. 2. P. 1Authored By: Manoharan, Maravarman; Babu, S.; Pitchai, R.Publication Type: Academic Journal