Lesson 4 Number Theory and Cryptography
Lesson 4 Number Theory and Cryptography
Congruence: Let a and b be two integers and m is any positive integer then a is said to congruent
to
b modulo m if m divide difference of a and b i.e.
For Example: 27 º13(mod 4)
m | a - b . It is denoted by a º b (mod m)
For Example:f(15) = 8 as primes relative to 15 are given by 1, 2, 4, 7, 8, 11, 13, and 14. And f(mn) =
f(m)f(n) where m and n are relatively prime.
Important concepts in Cryptography
(1) Cryptography is the study of methods to send and
receive secret message.
(2) The sender wants to send a message to receiver.
(3) The adversary wants to steal the message.
(4) In private key cryptography, the sender and
receiver agree in advance on a secret code, and then
send message using that code.
(5) In public key cryptography the encoding method
can be published. Each person has a public key used
to encrypt message and a secret key used to encrypt
an encrypted message.
(6) The original message is called the Plain text.
(7) The encoded text is called Cipher text.
I.CAESAR CIPHER KEY CRYPTOGRAPHY