RSA Principle 1

History

bg2013062702.jpg
In 1977, three mathematician Rivest Shamir and Adleman designed the RSA algorithm.

Coprime relation

If two positive integer no other common elements except 1,
then these two number be called have coprime relation.

  • any two coprime number compose to coprime relation
  • one coprime another is not multiple with the privous one then coprime relation.
  • if the bigger one in two number is coprime number, then these two compose to coprime relation.
  • 1 with any nature number is coprime relation.
  • p is integer bigger than 1, p and p-1 is coprime relation.
  • p is odd number bigger than 1, p and p-2 is coprime relation.

Euler formula(function)

Condition 1

1 with any nature number is coprime relation.

Condition 2

If n is coprime number than every number lower than n is coprime relation with n.

Condition 3

If number n is some coprime number’s times square than.

For example:

In 1 -> 16 totle 2^3 is multiple with 2.
So the number coprime relation with 16 is 8;
1 3 5 7 9 11 13 15

Condition 4

If number can be separate into
two number that have coprime relation.

Then:

For example:

Condition 5

Any positive integer can be separate into
a series of coprime number’s accumulate.

based on proposition 4 ->

based on proposition 3->

then ->

This is the Euler’s common formula , for example

Euler proposition

Special Condition
If p is a coprime number than:

  • Fermat little theorem
  • Fermat euler theorem

Mod inverse element

If two number a and n is coprime relation
than definitely could find a number b that $ab \quad mod \quad n = 1$

Call b is a’s mod reserve element

For example:
3 and 5 is coprime relation , set a=3, n=5, then a’s mod reserve element is 7.
7 {+-} kn[-4, 7, 12, 17] is all a’s mod reserve element.


Euler proposition proves mod reserve element definitely exists.

a^{\phi(5)-1} = 3^3 = 27

$$