







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Cryptography algorithms understanding the importance of cryptography in computer science
Typology: Slides
1 / 13
This page cannot be seen from the preview
Don't miss anything!








M.SRIRAM B16CS 3 CSE-
Cryptography (^) Study of techniques for secure communication in the presence of third parties. (^) It enables us to store sensitive information or transmit it across networks so that it cannot be read by anyone except the intended recipient. (^) Types of Cryptography- Private Key Cryptography Public Key Cryptography
RSA Algorithm (^) RSA stands for Rivest Shamir Adleman. (^) It was the first practical implementation of public key encryption. (^) The idea of RSA is based on integer prime factorization.
Example Destination(Client)
ELGAMAL Algorithm (^) It was described by Taher Elgamal in 1985. (^) It can be defined over any Cyclic Group G. (^) Its security mainly depends on computing discrete logarithms.
Continued (^) 6.Let M be the message , 0<M<p- (^) 7.Encryption:: (^) Choose a random number k ,1<k<p- (^) Compute c1=g^k (mod p) c2=M.A^k (mod p) (^) 8. Decryption:: (^) M=c2.Inverse(c1^a) (mod p) (^) Let M= (^) SOURCE Let k= c1=2^4(mod 11)= c2=7.8^4(mod 11)= (^) DESTINATION M=6.Inverse(5^3)(mod 11) =6.3(mod 11)=18mod = (Inverse(5^3) mod 11 Inverse(125)mod 11 ->125*3 mod 11=1)
APPLICATIONS (^) Client Server Architecture (^) Online chatting (^) Digital Signature DIFFERENCES 1.RSA gives same ciphertext for repeated same plaintext. 2.ELGAMAL gives different ciphertext for repeated same plaintext.