← Back to Gallery

Public Key Cryptography (RSA)

Step-by-step visualization of Key Generation, Encryption, and Decryption using small prime numbers.

1. Key Generation

Choose two distinct prime numbers \( p \) and \( q \).