Lectures 13 To 15 - Cryptography Details Symmetric Encryption
Lectures 13 To 15 - Cryptography Details Symmetric Encryption
Detailed Study
Engr. Asif Rafiq
Cryptography
Definitions and Concepts
• When data is stored on a computer, it is
usually protected by logical and physical
access controls.
• When this same sensitive information is sent
over a network, it can no longer take these
controls for granted, and the information is in
a much more vulnerable state.
Encryption
Definition and Concepts
• Encryption is a method of transforming readable
data, called plaintext, into a form that appears
to be random and unreadable/unintelligible
which is called cipher-text.
Sender
128 2128 = 3.4 1038 2127 µs = 5.4 1024 5.4 1018 years
years
168 2168 = 3.7 1050 2167 µs = 5.9 1036 5.9 1030 years
years
Chipher Text
Symmetric Encryption -
Attacks
• cryptanalysis
– rely on nature of the algorithm
– plus some knowledge of plaintext characteristics
– even some sample plaintext-ciphertext pairs
– exploits characteristics of algorithm to deduce
specific plaintext or key
• brute-force (hit n trial) attack
– try all possible keys on some ciphertext until get an
intelligible translation into plaintext
Symmetric Encryption Algorithms
include:
1. Block Ciphers - processes the plaintext input in fixed-
size blocks and produces a block of ciphertext of equal size for
each plaintext block.
applies to a unit of data larger than a single 64-bit or 128-bit
block