RSA
Last Updated: November 19, 2026
RSA (Rivest-Shamir-Adleman) is a widely used public-key system for encryption and digital signatures. It protects much of the internet, including website certificates and secure email. Bitcoin and Ethereum do not use RSA: they sign transactions with elliptic curve schemes instead.
Origin of RSA
Ron Rivest, Adi Shamir and Leonard Adleman described RSA at MIT in a technical memo dated April 1977. The full paper, “A Method for Obtaining Digital Signatures and Public-Key Cryptosystems,” came out in Communications of the ACM in February 1978. It was one of the first practical ways to do both public-key encryption and signatures.
How RSA Works
RSA relies on a pair of keys, one public, one private. Data locked with the public key can only be opened with the matching private key, and a signature made with the private key can be checked with the public key. Its strength comes from how hard it is to factor a huge number made by multiplying two secret primes.
RSA keys are long. NIST rates a 2,048-bit RSA key at 112 bits of security and a 3,072-bit key at 128 bits. A 256-bit elliptic curve cryptographic key gives the same 128 bits, which is one reason blockchains prefer curves: their keys and signatures are far smaller.
RSA and Blockchains
Bitcoin signs transactions with ECDSA and, for Taproot outputs, Schnorr signatures, both on the secp256k1 curve. Ethereum accounts also use ECDSA on that curve, while its validators use BLS signatures. Our digital signature entry compares them. RSA still shows up around crypto, for example in the HTTPS certificates that protect exchange websites.
Quantum Risk and NIST Deadlines
A large quantum computer running Shor’s algorithm, published in 1994, could factor RSA numbers and break the scheme. In May 2025, Google researcher Craig Gidney estimated that a 2,048-bit RSA key could be cracked in under a week by a machine with under one million noisy qubits. No such machine exists yet.
NIST has now set exit dates. Its final IR 8547 report, published in October 2026, says RSA signatures are deprecated after 2030 and disallowed after 2035. Key exchange that quantum computers could break gets the same dates. The replacements are the post-quantum standards FIPS 203, 204 and 205 from August 2024. Our quantum computing entry covers what this means for Bitcoin.
Why RSA Matters
RSA laid the foundation for modern encryption. It still secures many web links, though newer systems use elliptic curve keys and will move to post-quantum algorithms next.
Where to Check
NIST publishes the transition schedule in IR 8547 and key size guidance in SP 800-57. A browser’s certificate details show whether a website uses an RSA key or an elliptic curve key.
A Simple RSA Example
Textbook examples use tiny numbers to show the math. Pick two primes, 61 and 53. Their product, 3,233, becomes the public modulus. With the public exponent 17, the matching private exponent works out to 2,753. Real keys use primes hundreds of digits long, but the steps are the same.
To encrypt the number 65, raise it to the power 17 and keep the remainder after dividing by 3,233. The result is 2,790. To decrypt, raise 2,790 to the power 2,753 and divide by 3,233 again. The remainder is 65, the original message. Anyone can encrypt with the public numbers, but only the private exponent reverses the step.
Signing runs the same math the other way around. The owner applies the private exponent to a hash of the message, and anyone can check the result with the public exponent. Real systems add padding schemes such as OAEP for encryption and PSS for signatures, because raw textbook RSA is easy to attack.
Where You Still Meet RSA Around Crypto
Many website certificates still carry RSA keys, including some used by exchanges and wallet services. Hardware security modules and older systems at banks and custodians often rely on RSA as well. Software projects sign their releases with PGP keys, which can be RSA or elliptic curve keys, so users can check that a wallet download is genuine.
Frequently Asked Questions
Does Bitcoin use RSA?
No. Bitcoin signs transactions with ECDSA and, for Taproot outputs, Schnorr signatures, both on the secp256k1 elliptic curve. Ethereum accounts also use ECDSA on that curve. Curve keys give the same security as much longer RSA keys, with smaller keys and signatures. RSA mainly appears in the web certificates that protect exchange and wallet websites.
Can quantum computers break RSA?
Not today, but a large enough one could. Shor’s algorithm can factor the numbers RSA relies on, and a May 2025 Google estimate put a 2,048-bit key within reach of under one million noisy qubits in under a week. NIST plans to deprecate RSA after 2030 and disallow it after 2035.
Why do blockchains use elliptic curves instead of RSA?
Mainly for size and speed. A 256-bit elliptic curve key gives about the same security as a 3,072-bit RSA key, according to NIST’s key size guidance. Smaller keys and signatures save space in every block and cost less to check, which matters when thousands of nodes verify every transaction. Both families face the same long-term risk from large quantum computers.
Data sources: MIT memo MIT-LCS-TM-082 (April 1977); Communications of the ACM (February 1978); NIST SP 800-57 Part 1 Rev. 5 (May 2020); arXiv 2505.15917 (May 21, 2025); NIST IR 8547 (October 2026); NIST FIPS 203, 204 and 205 (August 13, 2024).