Question: help me please. actual python code preferred STU This content is controlled by your instructor, and is not zyBooks content Direct questions or concerns about

help me please. actual python code preferred help me please. actual python code preferred STU This content is controlled
by your instructor, and is not zyBooks content Direct questions or concerns

STU This content is controlled by your instructor, and is not zyBooks content Direct questions or concerns about this content to your instructor. If you have any technical issues with the zyLab submission system, use the Trouble with lab button at the bottom of the lab 6.15 LAB: Hacking Ciphers The Caesar Cipher Algorithm was introduced in Week #1. Encryption is the act of encoding a message with the intent of allowing only authorized people the knowledge of how to read that message: Encryption can be decoded. It helps secure content but can be read after decryption Recall that the Caesar Cipher used the alphabet as the primary source of information but shifted a certain number of letters to the left or right to create a key. It is easily hacked because of the simple technique used to build the key that decrypts the data In this example, the key will be the shift number and the direction will always be to shift down the alphabet. This provides 26 ways of encrypting a message This makes it easier to hack because our shift can only be in the range from 0-25 Write the function caesar hack() that takes a Caesar Cipher encrypted message, along with an ulphabet list and attempts, with a Brute Force Attack, to find the key and decrypt the message. This would typically be a technique used by an unauthorized user Use a nested for loop to find the key. Check the encrypted letter position based on the alphabet letter and it found, return the key number and the decrypted message If not found, return 99 for the key and "Error Key not found for the message. It might be useful to use the caesar_cipher_decrypt method to return only the key that matches the correct message Intran Add a call to the caesar hack method. Make sure you capture both of your returned variables Then add control structures that capture its 99-print the returned error message or print Sucessful attempt found. Key to the returned variable and on a new line print "Secret message and the returned message Ex the inputs print "Secret message and the returned message Ex: If the input is: 4 then the output is Brute Force Hack Attempt : Encrypted Message: XLMW MW EWIGVIX QIWWEKI Successful Attempt found! Key Secret message: THIS IS A SECRET MESSAGE Ex If the input is 22 then the output is Brute Force Hack Attempt: Encrypted Message: PDEO EO W OAYNAP LAOOWCA Successful Attempt found! Key = 22 Secret message: THIS IS A SECRET MESSAGE 294754 1952.77 LAS 6.15.1: LAB Hacking Ciphers ACTIVITY main.py 1 Caesar Cipher Encryption method

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!