Description
Assignment:
For this assignment, you’ll be making a Brute Force Code Cracker. It will take a cipher for input and run through all possible shift-cipher keys for it. Keep in mind that there are only 26 possible keys for a shift cipher. After taking in a cipher input, you’ll need to, one-by-one, convert the characters that make up the string into numbers, shift them based on the key you’re currently testing, then shift them back to characters. Characters, when converting to numbers, always take their ASCII values. Lower-case ‘a’ is 97, while lower-case ‘z’ is 122. Upper-case ‘A’ is 65, while upper-case ‘Z’ is 90. All the letters between them have the numbers ranging between them. Also, keep in mind that you’ll need to use modulo to take into account letters that might shift past the end of the group, such as trying to shift ‘y’ five letters to the right.
The following cipher decodes as ‘Testing the System’ and may be used to verify your code.
Whvwlqj wkh Vbvwhp
You’ll need to deliver a screenshot for EACH of the five ciphers below. Do note that there is an English phrase decryption of each of them.
1: Wkh qljkw lv orqj dqg zh doo suhwhqg wr vohhs
2: F xrfqq hnyd mfx gijs inxhtajwji zsijw ymj gtbqnsl fqqjd
3: Yx Drebcnki dro vslbkbi gsvv lo exuxygklvo
4: Epht bsf opu bmmpxfe jo uif eph qbsl
5: Jrypbzr gb Avtug Inyr
(100 pts total: 50 points for code, 10 points for each output)
Joanie Khoury –
Work was finished long before due and tutor was considerate and engaging. Perfect!
Megan Mowles –
Great Work In Timely Fashion. Something what I wanted.
Connie Cannon –
The assignment was excellent and I have scored 100 percent. I am very proud and happy with you.
Guy Booker –
Tutor is patient, highly efficient and well spoken. I can always count on early delivery! Thx!!