Question: need help with this assignment if you can using pycharm ce if possible. please and thank you heres the whole assignment. im using PyCharm CE.

need help with this assignment if you can using pycharm ce if possible. please and thank you
need help with this assignment if you can using pycharm ce if
heres the whole assignment. im using PyCharm CE. need the code and explanation if possible plz
possible. please and thank you heres the whole assignment. im using PyCharm

The Jean-Taillefer & Pierre-Wacozyk cryptosystem is defined as follows: 1. Keys are 16-bit values. 2. Messages are strings with an even number of characters. If the input string is odd, add a blank at the end of the string. 3. The encryption of a message M of length n (in bytes) is given by: Ex (M) = M (K || K || ..., where the key K is repeated n/2 times. 4. The decryption algorithm for a ciphertext C is the same as the encryption algorithm: D (M) = M (K || K || .... Your task: 1. (5 points) Implement the cryptosystem above to encrypt and decrypt a file for a given key. 2. (5 points) Implement a brute-force decryption attack for this cryptosystem. 3. (5 points) Write a short and concise report (two pages maximum) on your brute force algorithm that explains how it decrypt the message with brute force. Don't forget to include short examples to backup your claim. The idea of the report is to provide an overview of your algorithm and the program without having to go through the source code. Requirements & Deliverables: 1. You are to work alone but you can discuss the problem with your classmates. 2. Your program must consist of a single Python file. 3. A test text file and dictionary is available at MuOnline. 4. Use two characters for the key (instead of a long binary string of Os and 1s). 5. The program must have a menu with three option (TUI): a. Enter the filename and key to encrypt b. Enter the filename and key to decrypt c. Enter the filename to brute force (print the key to the screen and the decrypted text to a file) The Jean-Taillefer & Pierre-Wacozyk cryptosystem is defined as follows: 1. Keys are 16-bit values. 2. Messages are strings with an even number of characters. If the input string is odd, add a blank at the end of the string. 3. The encryption of a message M of length n (in bytes) is given by: Ex(M) = M H (K || K | ... where the key Kis repeated 1/2 times. 4. The decryption algorithm for a ciphertext C is the same as the encryption algorithm: Du(M) = MBE (K || K | .... Your task: 1. (5 points) Implement the cryptosystem above to encrypt and decrypt a file for a given key. 2. (5 points) Implement a brute-force decryption attack for this cryptosystem. 3. (5 points) Write a short and concise report (two pages maximum) on your brute force algorithm that explains how it decrypt the message with brute force. Don't forget to include short examples to backup your claim. The idea of the report is to provide an overview of your algorithm and the program without having to go through the source code. Requirements & Deliverables: 1. You are to work alone but you can discuss the problem with your classmates. 2. Your program must consist of a single Python file. 3. A test text file and dictionary is available at MUOnline. 4. Use two characters for the key (instead of a long binary string of Os and 1s). 5. The program must have a menu with three option (TUI): a. Enter the filename and key to encrypt b. Enter the filename and key to decrypt c. Enter the filename to brute force (print the key to the screen and the decrypted text to a file) 6. We will run your program so be sure to provide detailed instructions and to comment the code sufficiently. Source code(s) without proper comments will receive deductions up to 10 points. Remember, proper comments l= over commenting. 7. Note: if you are using pure brute force with a large dictionary, it may take too long to decrypt without a key. Make sure that you write your program efficiently enough so that it should not take more than five minutes to crack a file. Drof Thomneon claimed that he wrote the fastest heute forre alonrithm Can you heat his time?* The Jean-Taillefer & Pierre-Wacozyk cryptosystem is defined as follows: 1. Keys are 16-bit values. 2. Messages are strings with an even number of characters. If the input string is odd, add a blank at the end of the string. 3. The encryption of a message M of length n (in bytes) is given by: Ex (M) = M (K || K || ..., where the key K is repeated n/2 times. 4. The decryption algorithm for a ciphertext C is the same as the encryption algorithm: D (M) = M (K || K || .... Your task: 1. (5 points) Implement the cryptosystem above to encrypt and decrypt a file for a given key. 2. (5 points) Implement a brute-force decryption attack for this cryptosystem. 3. (5 points) Write a short and concise report (two pages maximum) on your brute force algorithm that explains how it decrypt the message with brute force. Don't forget to include short examples to backup your claim. The idea of the report is to provide an overview of your algorithm and the program without having to go through the source code. Requirements & Deliverables: 1. You are to work alone but you can discuss the problem with your classmates. 2. Your program must consist of a single Python file. 3. A test text file and dictionary is available at MuOnline. 4. Use two characters for the key (instead of a long binary string of Os and 1s). 5. The program must have a menu with three option (TUI): a. Enter the filename and key to encrypt b. Enter the filename and key to decrypt c. Enter the filename to brute force (print the key to the screen and the decrypted text to a file) The Jean-Taillefer & Pierre-Wacozyk cryptosystem is defined as follows: 1. Keys are 16-bit values. 2. Messages are strings with an even number of characters. If the input string is odd, add a blank at the end of the string. 3. The encryption of a message M of length n (in bytes) is given by: Ex(M) = M H (K || K | ... where the key Kis repeated 1/2 times. 4. The decryption algorithm for a ciphertext C is the same as the encryption algorithm: Du(M) = MBE (K || K | .... Your task: 1. (5 points) Implement the cryptosystem above to encrypt and decrypt a file for a given key. 2. (5 points) Implement a brute-force decryption attack for this cryptosystem. 3. (5 points) Write a short and concise report (two pages maximum) on your brute force algorithm that explains how it decrypt the message with brute force. Don't forget to include short examples to backup your claim. The idea of the report is to provide an overview of your algorithm and the program without having to go through the source code. Requirements & Deliverables: 1. You are to work alone but you can discuss the problem with your classmates. 2. Your program must consist of a single Python file. 3. A test text file and dictionary is available at MUOnline. 4. Use two characters for the key (instead of a long binary string of Os and 1s). 5. The program must have a menu with three option (TUI): a. Enter the filename and key to encrypt b. Enter the filename and key to decrypt c. Enter the filename to brute force (print the key to the screen and the decrypted text to a file) 6. We will run your program so be sure to provide detailed instructions and to comment the code sufficiently. Source code(s) without proper comments will receive deductions up to 10 points. Remember, proper comments l= over commenting. 7. Note: if you are using pure brute force with a large dictionary, it may take too long to decrypt without a key. Make sure that you write your program efficiently enough so that it should not take more than five minutes to crack a file. Drof Thomneon claimed that he wrote the fastest heute forre alonrithm Can you heat his time?*

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!