




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































(^) What we want to encrypt
(^) What we want to encrypt
algorithm, key, and key management functions used to perform cryptographic operations A cryptosystem is a 5-tuple (E,D,M,K,C), where M: the set of plaintexts K: the set of keys C: the set of ciphertexts E: M x K C —the set of enciphering functions D: C x K M —the set of deciphering functions
Notation Given P=Plaintext C=CipherText C = E K (P) Encryption P = D K ( C) Decryption Notation Given P=Plaintext C=CipherText C = E K (P) Encryption P = D K ( C) Decryption
Cryptography
It should be computationally infeasible to find the key K when given the plaintext P and associated ciphertext C= E K (p) It should also be computationally infeasible to find another key K’ such as E K (p) = E K’ (p) It should be computationally infeasible to find the key K when given the plaintext P and associated ciphertext C= E K (p) It should also be computationally infeasible to find another key K’ such as E K (p) = E K’ (p) An encryption scheme is computationally secure if: The cost of breaking the cipher exceeds the value of the encrypted information. The time required to break the cipher exceeds the useful lifetime of the An encryption scheme is computationally secure if: The cost of breaking the cipher exceeds the value of the encrypted information. The time required to break the cipher exceeds the useful lifetime of the
(^) Try every possible key on a piece of ciphertext until an intelligible translation into plaintext is obtained. On average half of all possible keys must be tried to achieve success.
(^) exploits the characteristics of the
(^) Try every possible key on a piece of ciphertext until an intelligible translation into plaintext is obtained. On average half of all possible keys must be tried to achieve success.
(^) exploits the characteristics of the algorithm to attempt to deduce a
Cryptanalysis attack can be: Cryptanalysis attack can be: Ciphertext only
Ciphertext only
Known plaintext
Known plaintext
Cryptanalysis attack can be: Cryptanalysis attack can be:
Plaintext message chosen by cryptanalyst, together with its corresponding ciphertext generated with the secret key The goal of the attack is to gain information which reduces the security of the encryption scheme
Purported ciphertext chosen by cryptanalyst, together with its
Plaintext message chosen by cryptanalyst, together with its corresponding ciphertext generated with the secret key The goal of the attack is to gain information which reduces the security of the encryption scheme
Purported ciphertext chosen by cryptanalyst, together with its
1.The type of operations used for transforming plaintext to ciphertext (^) Substitution (^) Transposition 2.The number of keys used (^) Symmetric/ secret-key (^) Asymmetric/public-key 3.The way in which the plaintext is processed (^) Block cipher (^) Stream cipher
Caesar Cipher: Simplest substitution cypher Used by Julius Ceasar each character of a message is replaced by a character three position down in the alphabet. Plaintext: are you ready Ciphertext: duh brx uhdgb Caesar Cipher: Simplest substitution cypher Used by Julius Ceasar each character of a message is replaced by a character three position down in the alphabet. Plaintext: are you ready Ciphertext: duh brx uhdgb
c = E( 3, p ) = (p + 3) mod 26
c = E( 3, p ) = (p + 3) mod 26