CS代写 Encryption

Encryption
SAMPLE OUTPUT
Sample output 1 (Normal Use):
File : wayby001_petals.py

Copyright By PowCoder代写 加微信 powcoder

Author : Batman
Student ID : 0123456X
Description: Programming Assignment 1 – Encryption
This is my own work as defined by the Eynesbury Academic Misconduct Policy.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 1
Please enter a new message: ! 1 AZ az ~ Your message is: ‘! 1 AZ az ~’.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 2
Your message was successfully encrypted. Your message is: ‘IHYHi#H*CHG(‘.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 3
Your message was successfully decrypted. Your message is: ‘! 1 AZ az ~’.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 4
Your message is: ‘! 1 AZ az ~’.

Sample output 2 (Error Checking):
File : wayby001_petals.py
Author : Batman
Student ID : 0123456X
Description: Programming Assignment 1 – Encryption
This is my own work as defined by the Eynesbury Academic Misconduct Policy.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 2
Error: Cannot encrypt an empty message.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 3
Error: Cannot decrypt an empty message.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 0
Invalid choice. Enter an option (1,2,3,4): 5 Invalid choice. Enter an option (1,2,3,4): 1 Please enter a new message:
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 4

Sample output 3 (Encrypt multiple times):
File : wayby001_petals.py
Author : Batman
Student ID : 0123456X
Description: Programming Assignment 1 – Encryption
This is my own work as defined by the Eynesbury Academic Misconduct Policy.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 1
Please enter a new message: The eagle returns to nest Your message is: ‘The eagle returns to nest’.
——————-
——————-
1. Enter Message
2. Encrypt Message
3. Decrypt Message
Enter an option (1,2,3,4): 2
Your message was successfully encrypted.
Your message is: ‘|1.H.*05.H;.=>;7;7CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com