RSA Encryption

RSA (Rivest–Shamir–Adleman) is a public-key cryptosystem that is widely used for secure data transmission.

Key Management

Generate a new key pair for encryption and decryption

Encrypt File

Upload a file and encrypt it with your private key

Decrypt File

Upload an encrypted file and decrypt it with the sender's public key

About RSA Encryption

RSA is one of the first public-key cryptosystems and is widely used for secure data transmission. In RSA cryptography:

  • The encryption key is public and distinct from the decryption key, which is kept private.
  • RSA is based on the practical difficulty of factoring the product of two large prime numbers.
  • The security of RSA relies on the fact that finding the prime factors of a large composite number is computationally intensive.
How RSA Works:
  1. Generate two large prime numbers, p and q.
  2. Compute n = p × q.
  3. Compute the totient: φ(n) = (p-1) × (q-1).
  4. Choose an integer e such that 1 < e < φ(n) and gcd(e, φ(n))=1.
  5. Compute d such that d × e ≡ 1 (mod φ(n)).
  6. The public key is (n, e) and the private key is (n, d).