Well established needs for secure communication


Any letter can be substituted for any other letter


Download 42 Kb.
bet3/13
Sana02.06.2024
Hajmi42 Kb.
#1840276
1   2   3   4   5   6   7   8   9   ...   13
Bog'liq
9-crypt

Any letter can be substituted for any other letter

  • Any letter can be substituted for any other letter
    • Each letter has to have a unique substitute
  • There are 26! pairing of letters (~1026)
  • Brute Force approach would be too time consuming
    • Statistical Analysis would make it feasible to crack the key
  • Substitution Cipher Monoalphabetic Cipher
  • A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
  • M N B V C X Z A S D F G H J K L P O I U Y T R E W Q
  • Encrypted
  • Message:
  • Nkn, s gktc wky.
  • mgsbc
  • Message:
  • Bob, I love you.
  • Alice
  • Cipher:
  • Monoalphabetic
  • Cipher
  • Key

Developed by Blaise de Vigenere

  • Developed by Blaise de Vigenere
    • Also called Vigenere cipher
  • Uses a sequence of monoalpabetic ciphers in tandem
    • e.g. C1, C2, C2, C1, C2
  • Example
  • Substitution Cipher Polyalphabetic Caesar Cipher
  • Encrypted
  • Message:
  • Gnu, n etox dhz.
  • tenvj
  • Message:
  • Bob, I love you.
  • Alice
  • Cipher:
  • Monoalphabetic
  • Cipher
  • Key
  • Plain Text A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
  • C1(k=6) F G H I J K L M N O P Q R S T U V W X Y Z A B C D E
  • C2(k=20) T U V W X Y Z A B C D E F G H I J K L M N O P Q R S

Obtain a key to for the algorithm and then shift the alphabets

  • Obtain a key to for the algorithm and then shift the alphabets
    • For instance if the key is word we will shift all the letters by four and remove the letters w, o, r, & d from the encryption
  • We have to ensure that the mapping is one-to-one
    • no single letter in plain text can map to two different letters in cipher text
    • no single letter in cipher text can map to two different letters in plain text
  • Substitution Cipher Using a key to shift alphabet
  • Encrypted
  • Message:
  • ??
  • Message:
  • Bob, I love you.
  • Alice
  • Cipher:
  • WORD
  • Plain Text A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
  • C1(k=6) W O R D A B C E F G H I J K L M N P Q S T U V X Y Z

Download 42 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   13




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling