**Learning Goal: **I’m working on a computer science multi-part question and need an explanation and answer to help me learn.

Hello,

Please asnwer the following encryption in word document and add references at the end of the document

- This is Shift Substitution Cipher. Use “Security” Java app to decipher it. Find out a plaintext and a shift.
- This one is created using Playfair Cipher. The key is “money”. What was the plaintext message? (Hint: use Playfair Substitution Cipher in “Security” Java app to create your matrix). Describe the procedure you used and how much time it took.

TJAL FWQK HWSJ KHGK LWVK WNWJ SDKF SHKS FVUD AHK

YQONWSVN

Instructions to encrypt:

- Here are the rules to encipher a piece of plaintext:
- First, eliminate all non-letter characters, and upcase all letters:
- Then, arrange the plaintext in pairs of letters.If any pair of letters contains the same letter (for example, ‘SS’), then insert an ‘X’:
- If there is a last character not paired, add an ‘X’.

- For each pair of plaintext characters, call the first p, and the second q; the corresponding ciphertext characters c and d:
- If p and q are in the
*same row*of the matrix, c is the letter*to the right of*p, and d is the letter*to the right of*q, wrapping around if necessary - If p and q are in the
*same column*of the matrix, c is the letter*below*p, and d is the letter*below*q, wrapping around if necessary - If p and q share neither the same row nor column, they define the corners of a square.The other two corners of the square are c and d, with c being the letter in the same column as p.

- If p and q are in the

Massachusetts goes Republican!

MASSACHUSETTSGOESREPUBLICAN

MA SX SA CH US ET TS GO ES RE PU BL IC AN

You decrypt in reverse order, i.e., the letter of a plain text appears *to the left* or *above* p and q