Cryptography 130919084510-phpapp02

23
CRYPTOGRAPHY Presented By : Shibani Sarangi IT Branch, Regd no. 1001289324 Guided By : Prof. X Presented By : Ravinder Kumar UID : 12MCA1051 Vikas Chaudhary UID : 12MCA1073 Submitted To : Mrs. Shivani Jaswal Asst. Prof. 1 CRYPTOGRAPHY

description

 

Transcript of Cryptography 130919084510-phpapp02

Page 1: Cryptography 130919084510-phpapp02

1

CRYPTOGRAPHY

Presented By : Shibani Sarangi

IT Branch, Regd no. 1001289324Guided By : Prof. X

Presented By : Ravinder KumarUID : 12MCA1051Vikas ChaudharyUID : 12MCA1073

Submitted To :Mrs. Shivani Jaswal Asst. Prof.

CRYPTOGRAPHY

Page 2: Cryptography 130919084510-phpapp02

2

OVERVIEW

Cryptography. Vocabulary. Encryption & Decryption. Transmission Technique. Symmetric Cryptography. Asymmetric Cryptography. Conclusion. References.

Page 3: Cryptography 130919084510-phpapp02

3

WHAT IS CRYPTOGRAPHY ?

Cryptography is the science of using mathematics to encrypt and decrypt data.

Cryptography enables you to store sensitive information or transmit it across insecure networks so that it cannot be read by anyone except the intended recipient.

Page 4: Cryptography 130919084510-phpapp02

4

VOCABULARY

Plaintext: Data that can be read and understood without any special measures.

Encryption: The method of disguising plaintext in such a way as to hide its substance is called encryption.

Cipher text: Encrypting plaintext results in unreadable gibberish called cipher text.

Decryption: The process of reverting cipher text to its original plaintext is called decryption.

Key: some secret piece of information that customizes how the cipher text is produced.

Page 5: Cryptography 130919084510-phpapp02

5

VOCABULARY

Cryptanalysis: The art of breaking ciphers, i.e. retrieving the plaintext without knowing the proper key.

Cryptographers: People who do cryptography Cryptanalysts: Practitioners of cryptanalysis. Cryptology: The branch of mathematics that studies

the mathematical foundations of cryptographic methods.

Cipher: The Encoder, i.e., the encryption/decryption scheme

Page 6: Cryptography 130919084510-phpapp02

6

ENCRYPTION & DECRYPTION

Page 7: Cryptography 130919084510-phpapp02

7

WHY USE CRYPTOGRAPHY ?

For “secret writing” To establish a shared secret when other people

(eavesdroppers) are listening. TYPES OF CRYPTOGRAPHY

Mainly classified into two types :

Symmetric key cryptography Asymmetric key cryptography

Page 8: Cryptography 130919084510-phpapp02

8

TRANSMISSION TECHNIQUE

encoderdecoder

(plaintext in -ciphertext out)

ciphertext ciphertext msgmsg

(ciphertext in- plaintext out)

(should understandnothingnothingabout themsg)

eavesdropper

bla-blabla-bla

cmbcmb--cmbcmb bla-blabla-bla

Cipher msg

Plain text – inCipher text -

out

Should understand NOTHING about the

message

Cipher text – inPlain text - out

Page 9: Cryptography 130919084510-phpapp02

9

Cryptography

Symmetric key Asymmetric key cryptography cryptography (Public key cryptography)

Classical Modern

cryptography cryptography

Transposition Substitution Stream Block

cipher cipher cipher cipher

CLASSIFICATION

Page 10: Cryptography 130919084510-phpapp02

10

SYMMETRIC KEY CRYPTOGRAPHY

BOTH SHOULD KNOW THE KEY

Page 11: Cryptography 130919084510-phpapp02

11

TRANSPOSITION CIPHER

In classical cryptography, a transposition cipher changes one character from the plaintext to another i.e. the order of the characters is changed.

Page 12: Cryptography 130919084510-phpapp02

12

SUBSTITUTION CIPHER

Substitution cipher is a method of encryption by which units of plaintext are substituted with ciphertext according to a regular system.

Page 13: Cryptography 130919084510-phpapp02

13

STREAM CIPHER

A Stream Cipher is a symmetric or secret-key encryption algorithm that encrypts a single bit at a time. With a Stream Cipher, the same plaintext bit or byte will encrypt to a different bit or byte every time it is encrypted.

e.g. :Plain text: Pay 100Binary of plain text: 010111101

(hypothetical)Key: 100101011

----- Perform XOR____________________

Cipher text 110010110 ----- ZTU9^%D

To decrypt make the XOR operation of the cipher text with the key .

Page 14: Cryptography 130919084510-phpapp02

14

BLOCK CIPHER

Block cipher technique involves encryption of one block of text at a time .Decryption also takes one block of encrypted text at a time. Length of the block is usually 64 or 128 bits.

e.g. :Plain text: four and fiveFour and fiveKey Key Keywvfa ast wvfa ---

cipher text

Page 15: Cryptography 130919084510-phpapp02

15

2) MODERN:ASYMMETRIC KEY CRYPTOGRAPHY

Public key cryptography is an asymmetric scheme that uses a Pair of keys for encryption: a Public key, which encrypts data, and a corresponding Private key (secret key) for decryption.

Page 16: Cryptography 130919084510-phpapp02

16

CRYPTANALYSIS

Cryptanalysis refers to the study of ciphers, cipher text, or cryptosystems (that is, to secret code systems) with a view to finding weaknesses in them that will permit retrieval of the plain text from the cipher text, without necessarily knowing the key or the algorithm. This is known as breaking the cipher, cipher text, or cryptosystem.Unlike cryptography which is a clearly defined science, Cryptanalysis is as much an art as it is a science.

Page 17: Cryptography 130919084510-phpapp02

17

CRYPTANALYSIS TECHNIQUES

Known - plain text analysis

Chosen – plain text analysis (Differential cryptanalysis)

Cipher text - only analysis

Man – in – the - middle attack

Page 18: Cryptography 130919084510-phpapp02

18

ACOUSTIC CRYPTANALYSIS

It is a side channel attack which exploits sounds emitted by computers or machines. Modern acoustic cryptanalysis mostly

focuses on sounds emitted by computer keyboards and internal computer components Historically it has also been applied to

impact printers and electromechanical cipher machines.

Page 19: Cryptography 130919084510-phpapp02

19

COUNTER MEASURES

Use rubber keyboard or virtual keyboards to prevent keystroke sounds. Use acoustic printers. Use Acoustic case for CPU.

Page 20: Cryptography 130919084510-phpapp02

20

CONCLUSION

Cryptography, being an art of encrypting and decrypting confidential information and private messages, should be implemented in the network security to prevent any leakage and threat. It can be done by using any of these

techniques discussed above for fortifying the personal data transmission as well as for secure transaction. Acoustic cryptanalysis, being an art of

decrypting or leaking confidential information from the sound generated from the CPU, Keyboard, printers, etc may be used in both constructive as well as destructive ways.

Page 21: Cryptography 130919084510-phpapp02

21

REFERENCE

Yang, Sarah (14 September 2005), "Researchers recover typed text using audio recording of keystrokes", UC Berkeley News.

http://en.wikipedia.org/wiki/Cryptography

https://www.coursera.org/course/crypto

Page 22: Cryptography 130919084510-phpapp02

22

Thank

you….

Page 23: Cryptography 130919084510-phpapp02

23

Thank

you….