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

  • Context: Comp Sci 
  • Thread starter Thread starter shivajikobardan
  • Start date Start date
  • Tags Tags
    Encryption
Click For Summary
SUMMARY

The discussion centers on the correct application of a transposition cipher as outlined in the book "Cryptography and Network Security" by Prakash C. Gupta. A participant identifies a mistake in the column numbering of the ciphertext, asserting that RSES is column number 3, not 6. The correct order of columns based on the key 5263174 is confirmed as DAEX, UVFU, LTNX, AETR, GAIO, EFHX, and RSES, emphasizing the importance of following the specified encoding procedure accurately.

PREREQUISITES
  • Understanding of transposition ciphers
  • Familiarity with the key ordering method in cryptography
  • Knowledge of plaintext and ciphertext conversion
  • Experience with the book "Cryptography and Network Security" by Prakash C. Gupta
NEXT STEPS
  • Study the encoding procedures for transposition ciphers
  • Learn about key digit ordering in cryptographic algorithms
  • Explore common mistakes in transposition cipher implementations
  • Review additional examples from "Cryptography and Network Security" by Prakash C. Gupta
USEFUL FOR

Students of cryptography, educators teaching encryption techniques, and anyone involved in implementing or studying transposition ciphers.

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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 1 ·
Replies
1
Views
12K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K