2. CRYPTOGRAPHIC TERMINOLOGY
• PLAIN TEXT: The format of the data before
encrypted.
• CIPHER TEXT: The scrambled format of data
after being encrypted.
• ENCRYPTION: Method of transforming plain
text into an unreadable format.
• DECRYPTION: Method of obtaining the
encrypted text into plain text.
3. What is Cryptography
The art of protecting information by
transforming it (Encrypting it) into an
unreadable format, called Cipher text, only
those who posses a secret key can
Decipher or (Decrypt) the message into
Plain text.
4.
5. WHY WE NEED A
CRYPTOGRAGHY
• For confidentiality
• For authentication
• For data integrity
14. PUBLIC /PRIVATE KEY
• A public key known to everyone
• private or secret key known only to the
recipient of the message
• When John wants to send a secure
message to Jane, he uses Jane's public
key to encrypt the message. Jane then
uses her private key to decrypt it.
17. DIFFIE-HELLMAN METHOD
Alice and Bob were communicating each
other via mail
Eve trying to hack the message
To avoid hacking they are using
DIFFIE-HELLMAN METHOD
29. Alice Bob
Eve
3xmod 17
3xmod 17
3xmod 17
Random Number=15
Random Number=13
315 mod 17=6 12 = 313mod 17
6
6
12
12
EXAMPLE FOR DIFFIE-HELLMAN
METHOD
30. Alice Bob
Eve
3xmod 17
3xmod 17
3xmod 17
Random Number=15
Random Number=13
315 mod 17=6 12 = 313mod 17
6
6
12
12
1215mod 17=10 613mod17=10
EXAMPLE FOR DIFFIE-HELLMAN
METHOD
31. Alice Bob
Eve
3xmod 17
3xmod 17
3xmod 17
Random Number=15
Random Number=13
315 mod 17=6 12 = 313mod 17
6
6
12
12
1215mod 17=10 613mod17=10
36mod17=15
312mod17=4
EXAMPLE FOR DIFFIE-HELLMAN
METHOD