Securityadvanced

RSA

A widely used encryption algorithm based on a public-private key pair.

Detailed Explanation

RSA is an asymmetric encryption algorithm that uses two keys: a public key (shared openly) and a private key (kept secret). Data encrypted with the public key can only be decrypted with the private key, and vice versa.

RSA is used in SSH key pairs, SSL/TLS certificates (the encryption behind HTTPS), and digital signatures. When you generate an SSH key with ssh-keygen, you're creating an RSA (or Ed25519) key pair. The public key goes on the server or GitHub, and the private key stays on your computer.

RSA is considered secure because factoring very large numbers is computationally infeasible. Key sizes of 2048 or 4096 bits are standard today.

Ready to Build Something Real?

We give you the skills to build, deploy, and own a full product. Professional stack, AI co-pilot, no coding background required.