L - 2.3, L-2.4 RSA - Diffie Hellman Algorithm
L - 2.3, L-2.4 RSA - Diffie Hellman Algorithm
RSA Algorithm
RSA Algorithm
RSA Algorithm
RSA Algorithm
RSA Algorithm
Example
1. Select two prime numbers p = 17 and q = 11
2. Calculate n = p x q = 17 × 11 = 187
RSA Algorithm
RSA Algorithm
M = 88
C = 887 mod 187
= (884 mod 187) x (882 mod 187) x (881 mod 187)
= 11
2. Mathematical attacks
Effort to factoring the product of two primes.
3. Timing attacks
These depend on the running time of the decryption
algorithm.
Diffie-Hellman Algorithm
Y2=X3+ax+b
Diffie-Hellman Algorithm
Diffie-Hellman Algorithm
Alice Bob
Key generated =
Key generated = y= Gb mod P
x= Ga mod P
Diffie-Hellman Algorithm
Diffie-Hellman Algorithm
Example
Diffie-Hellman Algorithm
References
• http://www.brainkart.com/article/Classical-Encryption-Te
chniques_8339/
• https://www.tutorialspoint.com/cryptography/index.htm
• https://www.geeksforgeeks.org/cryptography-introductio
n/
• https://www.techopedia.com/definition/1770/cryptograp
hy#:~:text=Cryptography%20involves%20creating%20wr
itten%20or,information%20to%20be%20kept%20secret.
&text=Information%20security%20uses%20cryptography
%20on,transit%20and%20while%20being%20stored
.
References
• https://www2.slideshare.net/lineking/classical-encrypt
ion-techniques-in-network-security?qid=e388c29f-793d
-4f2b-bcaf-9d22e9ca07b5&v=&b=&from_search=1
E- Books Recommended
• https://www.pdfdrive.com/cyber-security-books.html
• https://bookauthority.org/books/new-cyber-security-e
books
• https://bookauthority.org/books/best-cyber-security-e
books
• https://www.freetechbooks.com/information-security-f
52.html