Question: 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

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 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. Whvwlaj 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 oraj dqg zh doo suhwhqg wr vohhs 2: F xrfqq hnyd mfx gijs inxhtajwji zsijw ymj gtbqnsl fqgjd 3: Yx Drebenki dro vslbkbi gsvv lo exuxygklvo 4: Epht bsf opu bmmpxfe jo uif eph qbsl 5: Jrypbzr gb Avtug Inyr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
