How does RSA work as a public key encryption? — Emereoworld.com

How does RSA work as a public key encryption?

The most widely used form of public key encryption is RSA.  Developed by Ron Rivest, Adi Shamir, and Len Adleman in 1978, RSA is based on factoring the product of two large prime numbers.

The formula used is:

C = Pe mod n for encryption

P = Cd mod n for encryption

To calculate RSA key pairs, two prime numbers are multiplied together:

n = pq

 

The public key is {e, n}.  The integer e is relatively prime to (n) which is (p-1)(q-1)

The private key is {d,n}.  The integer d is calculated using Euclid’s algorithm.  de=10(n)+1

To attack the RSA algorithm, three major approaches are used:

  • trying all possible private keys
  • factoring the product of two prime numbers
  • measuring the running time if the decryption algorithm

for more information about encryption, and to be well prepared for your CISA exam –  sign up for the CISA exam preparation course:

**For Instant Access, follow these simple steps
1. Go here
2. choose your username and password and create your account
3. confirm your registration, log in and receive your  enrollment key to your exam preps instantly upon confirmation of your paypal transaction **

Previous post:

Next post: