Cipherly

RSA Encryption & Decryption

Generate secure RSA key pairs and perform asymmetric encryption and decryption directly in your browser.

1. Key Pair Generator

Generate public and private keys for asymmetric cryptography.

2. Encrypt

Encrypt text using a public key.

3. Decrypt

Decrypt text using a private key.

What is RSA?

RSA (Rivest–Shamir–Adleman) is a public-key cryptosystem that is widely used for secure data transmission. In such a cryptosystem, the encryption key is public and distinct from the decryption key, which is kept secret (private). This asymmetry is based on the practical difficulty of factoring the product of two large prime numbers, the "factoring problem".

Asymmetric Encryption

Unlike AES which uses the same key for both encryption and decryption, RSA uses a pair of keys. Data encrypted with the public key can only be decrypted with the matching private key.

Digital Signatures

RSA is also used for digital signatures. By "encrypting" with a private key, the owner can prove identity, as anyone with the public key can verify the signature but no one else can create it.