Image for Rivest–Shamir–Adleman (cryptographic algorithm)

Rivest–Shamir–Adleman (cryptographic algorithm)

The Rivest–Shamir–Adleman (RSA) algorithm is a widely used method for secure digital communication. It works by generating two keys: a public key, which anyone can use to lock (encrypt) a message, and a private key, known only to the recipient, used to unlock (decrypt) it. RSA relies on the difficulty of factoring large numbers into primes to ensure security. When someone wants to send a secure message, they encrypt it with the recipient’s public key; only the recipient can then decrypt it with their private key, ensuring confidentiality and authenticity.