0
40kviews
What is the difference between Substitution Cipher and Transportation Cipher? Explain: Additive Cipher and double transportation cipher with an example.
1 Answer
written 7.9 years ago by |
Paramters | Substitution Cipher | Transportation Cipher |
---|---|---|
Definition | A substitution technique is one in which the letters of plain text are replaced by other letters or number or symbols. | Transposition cipher does not substitute one symbol for another instead it changes the location of the symbols |
Type | Monoalphabetic and Polyalphabetic substitution cipher. | Keyless and Keyed transportation cipher. |
Changes | Each letter retains its position changes its identity | Each letter retains its identity but changes its position |
Disadvantage | The last letters of the alphabet which are mostly low frequency tend to stay at the end. | Keys very close to the correct key will reveal long sections of legible plaintext |
Example | Ceaser Cipher | Rail fence Cipher |
Plain text:
Cipher text:
Value :
Encrypt the message “hello” using additive cipher with key = 15
Apply the encryption algorithm to the plain-text, character by character
Plaintext: attack at four
First transportation: permute rows from (1, 2, 3) to (3, 2, 1)
Middle text: fourckatatta
Second transportation: permute columns from (1, 2, 3, 4) to (4, 2, 1, 3)
Ciphertext: ROFUTKCAATAT