Asymmetric Encryption: RSA and Elliptic Curves
Understand public/private key pairs, how RSA works conceptually, and why ECC is more efficient.
What is Asymmetric Encryption?
Asymmetric encryption uses a mathematically linked key pair: a public key (shared freely) and a private key (kept secret). Data encrypted with the public key can only be decrypted with the private key, and vice versa.
RSA: The Foundation
RSA (Rivest–Shamir–Adleman, 1977) is based on the difficulty of factoring large prime numbers. Security depends on key size: RSA-2048 is current minimum; RSA-4096 for high-security use. RSA is slower than symmetric encryption — used for key exchange, not bulk data.
All lessons in this course
- Symmetric Encryption: AES and Stream Ciphers
- Asymmetric Encryption: RSA and Elliptic Curves
- Hash Functions: SHA-256 and Beyond
- Digital Signatures and Certificates