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:
- (public key) and (secret key) can be computed efficiently
- With a , :
- is not computable from (without a quantum computer, during the life of this universe)
RSA algorithm steps (simplified, toy example):
- randomly select two primes and of similar size, each with bits ( )
- let
- let an integer co-prime with
- and
- let