Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started