Symmetric Encryption - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Symmetric Encryption

Description:

Definition: a block cipher is a function which map n-bit plaintext blocks ... For messages exceeding n bits, the simplest approach is to partition the message ... – PowerPoint PPT presentation

Number of Views:43
Avg rating:3.0/5.0
Slides: 23
Provided by: nguyenth3
Category:

less

Transcript and Presenter's Notes

Title: Symmetric Encryption


1
Symmetric Encryption
2
Content
  • Block cipher
  • DES

3
Block cipher
  • Definition a block cipher is a function which
    map n-bit plaintext blocks to n-bit ciphertext
  • n is called blocklength.
  • The function is parameterized by a k-bit key K.
  • The function must be one-to-one (invertible)
  • n gt 64 (larger than stream cipher)

4
Adversaries Assumptions and Attacks
  • Adversarys ability
  • has access to all data transmitted over the
    ciphertext channel
  • knows all details of the encryption function
    except the secret key
  • Classses of attack (for a fixed key)
  • Ciphertext-only
  • Known-plaintext
  • Chosen-plaintext (the attacker has the
    capability to choose arbitrary plaintexts to be
    encrypted and obtain the corresponding
    ciphertexts.)
  • Adaptive chosen-plaintext (choosing subsequent
    plaintexts based on the information from the
    previous encryptions)

5
Broken cipher
  • A block cipher is totally broken if a key can be
    found,
  • and partially broken if an adversary is able to
    recover part of the plaintext (but not the key)
    from ciphertext.

6
Modes of operation
  • A block cipher encrypts plaintext in fixed-size
    n-bit blocks (often n 64). For messages
    exceeding n bits, the simplest approach is to
    partition the message into n-bit blocks and
    encrypt each separately.
  • electronic codebook (ECB)
  • cipher-block chaining (CBC)
  • Cipher feedback (CFB)
  • output feedback (OFB)

7
(No Transcript)
8
(No Transcript)
9
(No Transcript)
10
(No Transcript)
11
Multiple encryption
12
Classical ciphers
  • Transposition ciphers
  • CAESAR
  • Substitution ciphers
  • simple substitution cipher or monoalphabetic
    substitution cipher
  • affine cipher
  • Polygram substitution
  • Polyalphabetic substitutions and Vigenère ciphers
  • Polyalphabetic cipher machines and rotors

13
Vigenère ciphers
  • Key ABCDEF AB CDEFA BCD EFABCDEFABCD
  • Plaintext CRYPTO IS SHORT FOR CRYPTOGRAPHY
  • Ciphertext CSASXT IT UKSWT GQU GWYQVRKWAQJB
  • Key ABCDAB CD ABCDA BCD ABCDABCDABCD
  • Plaintext CRYPTO IS SHORT FOR CRYPTOGRAPHY
  • Ciphertext CSASTP KV SIQUT GQU CSASTPIUAQJB

14
Polyalphabetic cipher machines and rotors
15
Cryptanalysis of classical ciphers
16
Cryptanalysis of classical ciphers
17
Data Encryption Standard (DES)
18
(No Transcript)
19
(No Transcript)
20
(No Transcript)
21
(No Transcript)
22
Example
Write a Comment
User Comments (0)
About PowerShow.com