RSA algorithm

Possible application of the Primality Test is used in public-key cryptosystems for example, which is commonly used for secure data transmission. The idea of asymettric encryption is:

  1. (public key) and (secret key) can be computed efficiently
  2. With a , :
  3. is not computable from (without a quantum computer, during the life of this universe)

RSA algorithm steps (simplified, toy example):

  1. randomly select two primes and of similar size, each with bits ( )
  2. let
  3. let an integer co-prime with
  4. and
  5. let