Question: **information security** write a code in NetBeans by using the language java: Create software that can encrypt and decrypt a text using Columnar algorithm. Classical

**information security**

write a code in NetBeans by using the language java:

Create software that can encrypt and decrypt a text using Columnar algorithm.

**information security** write a code in NetBeans by using the language java:Create software that can encrypt and decrypt a text using Columnar algorithm.Classical Encryption: Columnar cipher Columar cipher is a more complex transposition writeletters of message out in rows over a specified number of columnsNumber of columns - key length then reorder the columns according to

Classical Encryption: Columnar cipher Columar cipher is a more complex transposition write letters of message out in rows over a specified number of columns Number of columns - key length then reorder the columns according to some key before reading off the rows In a columnar transposition, the message is written out in rows of a fixed length, and then read out again column by column, and the columns are chosen in some scrambled order In a regular columna transposition cipher any spare spaces are filled with X, in an irregular columna transposition cipher, the spaces are left blank Columnar cipher Encryption Plaintext (P)= ATTACKTODAY Key (K)= 3421 3 4 2 1 Column Out Plaintext A T T A K T o D A Y X Cipher Text (C)=AOXTTYACDTKA Columnar cipher Decryption CipherText (C)= AOXTTYACDTKA Key (K)= 3421 Column Out 3 4 2 1 Plaintext T T A K T 0 D A Y X Plaintext (P)= ATTACKTODAYX Examples Use the columnar cipher and encrypt the plain text with the given key. Plaintext (M)- THIS IS A MESSAGE TO SHOW HOW COLUMNAR WORKS Key: 351462 Column Out 3 35 1 4 6 Plaintext t h i S i 2 S m e S S a e 0 S h t h 0 w . w 0 1 u m n a r w o r k S Ciphertext: IETHUO SAHCAS TAGOOR SSOOMR HMEWLW ISSWNK Examples Use the columnar Cipher and decrypt the following ciphertext to plain text with the given key: Ciphertext(C): EVLNX ACDTX ESEAX ROFOX DEECX WIREE Key: 632415 2 4 1 5 Column Out 6 3 Plaintext W e a r e d i S o V e r e d f 1 e e a t o n e X X X X X Classical Encryption: Columnar cipher Columar cipher is a more complex transposition write letters of message out in rows over a specified number of columns Number of columns - key length then reorder the columns according to some key before reading off the rows In a columnar transposition, the message is written out in rows of a fixed length, and then read out again column by column, and the columns are chosen in some scrambled order In a regular columna transposition cipher any spare spaces are filled with X, in an irregular columna transposition cipher, the spaces are left blank Columnar cipher Encryption Plaintext (P)= ATTACKTODAY Key (K)= 3421 3 4 2 1 Column Out Plaintext A T T A K T o D A Y X Cipher Text (C)=AOXTTYACDTKA Columnar cipher Decryption CipherText (C)= AOXTTYACDTKA Key (K)= 3421 Column Out 3 4 2 1 Plaintext T T A K T 0 D A Y X Plaintext (P)= ATTACKTODAYX Examples Use the columnar cipher and encrypt the plain text with the given key. Plaintext (M)- THIS IS A MESSAGE TO SHOW HOW COLUMNAR WORKS Key: 351462 Column Out 3 35 1 4 6 Plaintext t h i S i 2 S m e S S a e 0 S h t h 0 w . w 0 1 u m n a r w o r k S Ciphertext: IETHUO SAHCAS TAGOOR SSOOMR HMEWLW ISSWNK Examples Use the columnar Cipher and decrypt the following ciphertext to plain text with the given key: Ciphertext(C): EVLNX ACDTX ESEAX ROFOX DEECX WIREE Key: 632415 2 4 1 5 Column Out 6 3 Plaintext W e a r e d i S o V e r e d f 1 e e a t o n e X X X X X

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!