SlideShare a Scribd company logo
1 of 29
CRYPTOGRAPHY Presenting by:       J.P.S.M.K
What   is   Cryptography ,[object Object]
In a narrow sense
Mangling information into apparent unintelligibility
Allowing a secret method of un-mangling
In a broader sense
Mathematical techniques related to information security
About secure communication in the presence of adversaries
Cryptanalysis
The study of methods for obtaining the meaning of encrypted information without accessing the secret information
Cryptology
Cryptography + cryptanalysis,[object Object]
Obtain message contents
Monitoring traffic flows
Active attacks
Masquerade of one entity as some other
Replay previous messages
Modify messages in transmit
Add, delete messages
Denial of service,[object Object]
Only the sender and intended receiver should be able to understand the contents of the transmitted message
Authentication
Both the sender and receiver need to confirm the identity of other party involved in the communication
Data integrity
The content of their communication is not altered, either maliciously or by accident, in transmission.
Availability
Timely accessibility of data to authorized entities.,[object Object]
An entity is prevented from denying its previous commitments or actions
Access control

More Related Content

What's hot

Cryptography Lecture by Sam Bowne
Cryptography Lecture by Sam BowneCryptography Lecture by Sam Bowne
Cryptography Lecture by Sam BowneSecurityTube.Net
 
Ch12 Cryptography it-slideshares.blogspot.com
Ch12 Cryptography it-slideshares.blogspot.comCh12 Cryptography it-slideshares.blogspot.com
Ch12 Cryptography it-slideshares.blogspot.comphanleson
 
Network security and cryptography
Network security and cryptographyNetwork security and cryptography
Network security and cryptographyRajKumar Rampelli
 
6. cryptography
6. cryptography6. cryptography
6. cryptography7wounders
 
Computer Security (Cryptography) Ch01
Computer Security (Cryptography) Ch01Computer Security (Cryptography) Ch01
Computer Security (Cryptography) Ch01Saif Kassim
 
Network Security and Cryptography
Network Security and CryptographyNetwork Security and Cryptography
Network Security and CryptographyAdam Reagan
 
Encryption presentation final
Encryption presentation finalEncryption presentation final
Encryption presentation finaladrigee12
 
Network security & cryptography
Network security & cryptographyNetwork security & cryptography
Network security & cryptographyRahulprasad Yadav
 
Encryption And Decryption
Encryption And DecryptionEncryption And Decryption
Encryption And DecryptionNA
 
Network security and cryptography
Network security and cryptographyNetwork security and cryptography
Network security and cryptographyPavithra renu
 
Cryptanalysis 101
Cryptanalysis 101Cryptanalysis 101
Cryptanalysis 101rahat ali
 
Cryptography and network security
Cryptography and network security Cryptography and network security
Cryptography and network security Mathan Gopal
 

What's hot (20)

Cryptography
CryptographyCryptography
Cryptography
 
Cryptography Lecture by Sam Bowne
Cryptography Lecture by Sam BowneCryptography Lecture by Sam Bowne
Cryptography Lecture by Sam Bowne
 
Ch12 Cryptography it-slideshares.blogspot.com
Ch12 Cryptography it-slideshares.blogspot.comCh12 Cryptography it-slideshares.blogspot.com
Ch12 Cryptography it-slideshares.blogspot.com
 
Ch11 Basic Cryptography
Ch11 Basic CryptographyCh11 Basic Cryptography
Ch11 Basic Cryptography
 
Cryptography
CryptographyCryptography
Cryptography
 
Encryption
EncryptionEncryption
Encryption
 
Network security and cryptography
Network security and cryptographyNetwork security and cryptography
Network security and cryptography
 
6. cryptography
6. cryptography6. cryptography
6. cryptography
 
Computer Security (Cryptography) Ch01
Computer Security (Cryptography) Ch01Computer Security (Cryptography) Ch01
Computer Security (Cryptography) Ch01
 
Network Security and Cryptography
Network Security and CryptographyNetwork Security and Cryptography
Network Security and Cryptography
 
Cryptography
CryptographyCryptography
Cryptography
 
Cryptography
CryptographyCryptography
Cryptography
 
Chapter 15 - Security
Chapter 15 - SecurityChapter 15 - Security
Chapter 15 - Security
 
Overview of cryptography
Overview of cryptographyOverview of cryptography
Overview of cryptography
 
Encryption presentation final
Encryption presentation finalEncryption presentation final
Encryption presentation final
 
Network security & cryptography
Network security & cryptographyNetwork security & cryptography
Network security & cryptography
 
Encryption And Decryption
Encryption And DecryptionEncryption And Decryption
Encryption And Decryption
 
Network security and cryptography
Network security and cryptographyNetwork security and cryptography
Network security and cryptography
 
Cryptanalysis 101
Cryptanalysis 101Cryptanalysis 101
Cryptanalysis 101
 
Cryptography and network security
Cryptography and network security Cryptography and network security
Cryptography and network security
 

Similar to Cryptography /Sankar jayam

Cryptography by Durlab Kumbhakar
Cryptography by Durlab KumbhakarCryptography by Durlab Kumbhakar
Cryptography by Durlab KumbhakarDurlove Kumbhakar
 
Introduction To PKI Technology
Introduction To PKI TechnologyIntroduction To PKI Technology
Introduction To PKI TechnologySylvain Maret
 
Cryptography by gaurav singh
Cryptography by gaurav singhCryptography by gaurav singh
Cryptography by gaurav singhGaurav Singh
 
Pertemuan 4 information hiding (cryptography)
Pertemuan 4 information hiding (cryptography)Pertemuan 4 information hiding (cryptography)
Pertemuan 4 information hiding (cryptography)newbie2019
 
A study of cryptography for satellite applications
A study of cryptography for satellite applicationsA study of cryptography for satellite applications
A study of cryptography for satellite applicationsRajesh Ishida
 
Pertemuan 4 information hiding (cryptography)
Pertemuan 4 information hiding (cryptography)Pertemuan 4 information hiding (cryptography)
Pertemuan 4 information hiding (cryptography)newbie2019
 
An Understanding And Perspectives of END TO END ENCRYPTION (4).pdf
An Understanding And Perspectives of END TO END ENCRYPTION (4).pdfAn Understanding And Perspectives of END TO END ENCRYPTION (4).pdf
An Understanding And Perspectives of END TO END ENCRYPTION (4).pdfKailasS9
 
White Paper on Cryptography
White Paper on Cryptography White Paper on Cryptography
White Paper on Cryptography Durgesh Malviya
 
A Robust Cryptographic System using Neighborhood-Generated Keys
A Robust Cryptographic System using Neighborhood-Generated KeysA Robust Cryptographic System using Neighborhood-Generated Keys
A Robust Cryptographic System using Neighborhood-Generated KeysIJORCS
 
A Robust Cryptographic System using Neighborhood-Generated Keys
A Robust Cryptographic System using Neighborhood-Generated KeysA Robust Cryptographic System using Neighborhood-Generated Keys
A Robust Cryptographic System using Neighborhood-Generated KeysIJORCS
 
CH2 Stallings,_William_Computer_Security_Principles_and_Practice_Pearson [54-...
CH2 Stallings,_William_Computer_Security_Principles_and_Practice_Pearson [54-...CH2 Stallings,_William_Computer_Security_Principles_and_Practice_Pearson [54-...
CH2 Stallings,_William_Computer_Security_Principles_and_Practice_Pearson [54-...ams1ams11
 
Ethical hacking Chapter 12 - Encryption - Eric Vanderburg
Ethical hacking   Chapter 12 - Encryption - Eric VanderburgEthical hacking   Chapter 12 - Encryption - Eric Vanderburg
Ethical hacking Chapter 12 - Encryption - Eric VanderburgEric Vanderburg
 
Cryptography and Network Lecture Notes
Cryptography and Network Lecture NotesCryptography and Network Lecture Notes
Cryptography and Network Lecture NotesFellowBuddy.com
 
A Survey on Cryptographic Techniques for Network Security.pdf
A Survey on Cryptographic Techniques for Network Security.pdfA Survey on Cryptographic Techniques for Network Security.pdf
A Survey on Cryptographic Techniques for Network Security.pdfYasmine Anino
 

Similar to Cryptography /Sankar jayam (20)

Network Security
Network SecurityNetwork Security
Network Security
 
Cryptography by Durlab Kumbhakar
Cryptography by Durlab KumbhakarCryptography by Durlab Kumbhakar
Cryptography by Durlab Kumbhakar
 
Introduction To PKI Technology
Introduction To PKI TechnologyIntroduction To PKI Technology
Introduction To PKI Technology
 
Cryptography by gaurav singh
Cryptography by gaurav singhCryptography by gaurav singh
Cryptography by gaurav singh
 
Pertemuan 4 information hiding (cryptography)
Pertemuan 4 information hiding (cryptography)Pertemuan 4 information hiding (cryptography)
Pertemuan 4 information hiding (cryptography)
 
Java Crypto
Java CryptoJava Crypto
Java Crypto
 
A study of cryptography for satellite applications
A study of cryptography for satellite applicationsA study of cryptography for satellite applications
A study of cryptography for satellite applications
 
Pertemuan 4 information hiding (cryptography)
Pertemuan 4 information hiding (cryptography)Pertemuan 4 information hiding (cryptography)
Pertemuan 4 information hiding (cryptography)
 
cns unit 1.pptx
cns unit 1.pptxcns unit 1.pptx
cns unit 1.pptx
 
An Understanding And Perspectives of END TO END ENCRYPTION (4).pdf
An Understanding And Perspectives of END TO END ENCRYPTION (4).pdfAn Understanding And Perspectives of END TO END ENCRYPTION (4).pdf
An Understanding And Perspectives of END TO END ENCRYPTION (4).pdf
 
Fundamentals of cryptography
Fundamentals of cryptographyFundamentals of cryptography
Fundamentals of cryptography
 
White Paper on Cryptography
White Paper on Cryptography White Paper on Cryptography
White Paper on Cryptography
 
A Robust Cryptographic System using Neighborhood-Generated Keys
A Robust Cryptographic System using Neighborhood-Generated KeysA Robust Cryptographic System using Neighborhood-Generated Keys
A Robust Cryptographic System using Neighborhood-Generated Keys
 
A Robust Cryptographic System using Neighborhood-Generated Keys
A Robust Cryptographic System using Neighborhood-Generated KeysA Robust Cryptographic System using Neighborhood-Generated Keys
A Robust Cryptographic System using Neighborhood-Generated Keys
 
IS-cryptograpy algorithms.pptx
IS-cryptograpy algorithms.pptxIS-cryptograpy algorithms.pptx
IS-cryptograpy algorithms.pptx
 
CH2 Stallings,_William_Computer_Security_Principles_and_Practice_Pearson [54-...
CH2 Stallings,_William_Computer_Security_Principles_and_Practice_Pearson [54-...CH2 Stallings,_William_Computer_Security_Principles_and_Practice_Pearson [54-...
CH2 Stallings,_William_Computer_Security_Principles_and_Practice_Pearson [54-...
 
Ethical hacking Chapter 12 - Encryption - Eric Vanderburg
Ethical hacking   Chapter 12 - Encryption - Eric VanderburgEthical hacking   Chapter 12 - Encryption - Eric Vanderburg
Ethical hacking Chapter 12 - Encryption - Eric Vanderburg
 
Cryptography and Network Lecture Notes
Cryptography and Network Lecture NotesCryptography and Network Lecture Notes
Cryptography and Network Lecture Notes
 
A Survey on Cryptographic Techniques for Network Security.pdf
A Survey on Cryptographic Techniques for Network Security.pdfA Survey on Cryptographic Techniques for Network Security.pdf
A Survey on Cryptographic Techniques for Network Security.pdf
 
Cryptography
CryptographyCryptography
Cryptography
 

Cryptography /Sankar jayam

  • 2.
  • 3. In a narrow sense
  • 4. Mangling information into apparent unintelligibility
  • 5. Allowing a secret method of un-mangling
  • 7. Mathematical techniques related to information security
  • 8. About secure communication in the presence of adversaries
  • 10. The study of methods for obtaining the meaning of encrypted information without accessing the secret information
  • 12.
  • 16. Masquerade of one entity as some other
  • 20.
  • 21. Only the sender and intended receiver should be able to understand the contents of the transmitted message
  • 23. Both the sender and receiver need to confirm the identity of other party involved in the communication
  • 25. The content of their communication is not altered, either maliciously or by accident, in transmission.
  • 27.
  • 28. An entity is prevented from denying its previous commitments or actions
  • 30. An entity cannot access any entity that it is not authorized to.
  • 32.
  • 34.
  • 35. SKC: Security Uses Transmitting over an insecure channel The transmitted message is encrypted by the sender and can be decrypted by the receiver, with the same key Prevent attackers from eavesdropping Secure storage on insecure media Data is encrypted before being stored somewhere Only the entities knowing the key can decrypt it
  • 36. SKC: Security Uses Authentication Strong authentication: proving knowledge of a secret without revealing it. Alice Bob challenge r A response rA encrypted with KA,B r B rB encrypted with KA,B
  • 37. SKC: Security Uses Integrity Check Noncryptographic checksum Using a well-known algorithm to map a message (of arbitrary length) to a fixed-length checksum Protecting against accidental corruption of a message Example: CRC Cryptographic checksum A well-know algorithm Given a key and a message The algorithm produces a fixed-length message authentication code (MAC) that is sent with the message
  • 38. Public Key Cryptography encryption plaintext ciphertext Public key Private key ciphertext plaintext decryption Each individual has two keys a private key (d): need not be reveal to anyone a public key (e): preferably known to the entire world Public key crypto is also called asymmetric crypto.
  • 39.
  • 40. PKC: Security Uses Authentication Alice Bob encrypt rusing eB decrypt to rusing dB r
  • 41. PKC: Security Uses Digital Signatures Proving that a message is generated by a particular individual Non-repudiation: the signing individual can not be denied, because only him/her knows the private key. signing plaintext Signed message Private key Public key Signed message plaintext verification
  • 42. Hash Functions Cryptographic hash function A mathematical transformation that takes a message of arbitrary length and computes it a fixed-length (short) number. Properties ( Let the hash of a message m be h(m) ) For any m, it is relatively easy to compute h(m) Given h(m), there is no way to find an m that hashes to h(m) in a way that is substantially easier than going through all possible values of m and computing h(m) for each one. It is computationally infeasible to find two values that hash to the same thing.
  • 43. Hash Functions: Security Uses Password hashing The system store a hash of the password (not the password itself) When a password is supplied, it computes the password’s hash and compares it with the stored value. Message integrity Using cryptographic hash functions to generate a MAC Bob Alice secret =? message hash hash secret
  • 44. Hash Functions: Security Uses Message fingerprint Save the message digest of the data on a tamper-proof backing store Periodically re-compute the digest of the data to ensure it is not changed. Downline load security Using a hash function to ensure a download program is not modified Improving signature efficiency Compute a message digest (using a hash function) and sign that.
  • 45. Cryptographic Algorithms: Agenda Attacks on cryptographic algorithms Definition of security Some cryptographic algorithms: basic facts
  • 46. Attacks: Types Brute force search Assume either know/recognize plaintext Simply try every key Cryptoanalysis Ciphertext only With the ciphertext Plaintext is recognizable Known plaintext <cipher, plaintext> pairs are known Chosen plaintext Select plaintext and obtain ciphertext to attack
  • 47. Birthday Attacks Principle Assume: A function yields any of n different outputs with equal probability, where n is sufficiently large. After evaluating the function for about 1.2*squart(n) arguments, we expect to find a pair of different arguments, x1 and x2, such that f(x1)=f(x2). Attack: message replay Solution: increase the size of the output
  • 48. Meet-in-the-Middle Attacks Principle build a table of keys Compute f(k,m) for every key f is an encryption function, m is a known message Eavesdrop a value f(k’,m) If f(k’,m)=f(k,m), then there is a good chance k’=k.
  • 49. Meet-in-the-Middle Attacks An attack example Assume: a new encryption function: F(k1,k2,m)=f(k1,f(k2,m)) A pair (P,C) is known Attacker: Encrypt P, i.e., computing f(k2,P), for all possible values of k2; store the values in a table Decrypt C, i.e., computing f-1(k1,C), for all possible values of k1, and for each result check the table A match reveals a possible combination of the keys
  • 50. Security Definition Unconditional Security The system cannot be defeated, no matter how much power is available by the adversary. Computational security The perceived level of computation required to defeat the system using the best known attack exceeds, by a comfortable margin, the computational resources of the hypothesized adversary. e.g., given limited computing resources, it takes the age of universe to break cipher.
  • 51. Security Definition Provable security The difficulty of defeating the system can be shown to be essentially as difficult as solving a well-known and supposedly difficult problem (e.g., integer factorization) Ad hoc security Claims of security generally remain questionable Unforeseen attacks remain a threat
  • 52. Secret Key Cryptographic Algorithms DES (Data Encryption Standard) 3DES (Triple DES) IDEA (International Data Encryption Algorithm) AES (Advanced Encryption Standard)
  • 53. DES (Data Encryption Standard) Authors: NSA & IBM, 1977 Data block size: 64-bit (64-bit input, 64-bit output) Key size: 56-bit key Encryption is fast DES chips DES software: a 500-MIP CPU can encrypt at about 30K octets per second Security No longer considered secure: 56 bit keys are vulnerable to exhaustive search
  • 54. Triple-DES (3DES) C = DESk3(DESk2(DESk1(P))). Data block size: 64-bit Key size: 168-bit key; effective key size: 112 (due to man-in-the-middle attack) Encryption is slower than DES Securer than DES
  • 55. IDEA (International Data Encryption Algorithm) Authors: Lai & Massey, 1991 Data block size: 64-bit Key size: 128-bit Encryption is slower than DES Security Nobody has yet published results on how to break it Having patent protection
  • 56. AES (Advanced Encryption Standard) Authors: Daemen & Rijmen Block size:128-bit Key size: 128-bit, 192-bit, 256-bit Encryption is fast Security As of 2005, no successful attacks are recognized. NSA stated it secure enough for non-classified data.