Comp Sci Is the key of this encryption (transposition cipher) correct?

  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Encryption
AI Thread Summary
The discussion centers on the correct interpretation of a transposition cipher from a textbook. A participant points out that "RSES" should be in column 3, not column 6, indicating a potential mistake in the cipher's key arrangement. Another contributor agrees that the ciphertext appears correct when written in increasing key-digit order, but confusion arises due to differing column numbering. The encoding procedure is clarified, emphasizing writing the plaintext in rows across columns and using a key to determine the order of the ciphertext. The conversation highlights the complexity of understanding transposition ciphers and the importance of accurate column placement.
shivajikobardan
Messages
637
Reaction score
54
Homework Statement
Transposition Cipher
Relevant Equations
no conversion of Plain Text to cipher, just change the position of plaintext.
1660980188248.png

I don't have much to add in this post as it's apparent from the figure itself.
DAEX
UVFU
RSES is column number 3 not 6. So, I think that's a mistake.

I'm following this book for this sub topic only.

CRYPTOGRAPHY AND NETWORK SECURITY By PRAKASH C. GUPTA
 
Physics news on Phys.org
shivajikobardan said:
Homework Statement:: Transposition Cipher
Relevant Equations:: no conversion of Plain Text to cipher, just change the position of plaintext.

RSES is column number 3 not 6. So, I think that's a mistake.
If the ciphertext is the columns written out in increasing key-digit order then it appears correct to me. Not sure what you mean the mistake should be.
 
Filip Larsen said:
If the ciphertext is the columns written out in increasing key-digit order then it appears correct to me. Not sure what you mean the mistake should be.
uuh it's confusing as there're multiple perspectives.

I first gave columns numbering as it should be, so according to my numbering:
1-GAIO
2-UVFU
3-AETR
4-RSES
5-DAEX
6-LTNX
7-EFHX

And the key here's 5263174
so this'd be the order:
DAEX,UVFU,LTNX,AETR,GAIO,EFHX,RSES
 
Based on the picture from your textbook alone it seems you are doing it wrong. I understand the encoding procedure to be
  1. Write out the clear text one row at a time over 7 columns, padding with X (which seems like a bad idea, but never mind that now).
  2. Write the key so one digit is above each column.
  3. Write out the ciphertext as the full column marked 1, then 2, and so on up to 7.
 
Back
Top