Question: This assignment will require you to write a simple python script using the Python Standard Library. Python is available on our cs-ssh.uwf.edu server which runs

This assignment will require you to write a simple python script using the Python Standard Library.

Python is available on our cs-ssh.uwf.edu server which runs Python 2.7.5.(python -V) I suggest you create a separate directory for your work.

Use the Python Libraries listed below in your code.

Review base64 from Unit 5

Script 1

Create a python script that will handle encoding and decode to base64. The program must

Ask the user if they wish to encode or decode

Ask for the text to process

encodes or decodes the input and displays both the input and either encoded base64 or the decoded text.

Prompts the user if they want to encode, decode or exit.

Add comments to the top of the file that include the filename, purpose , name and date.

Review encryption algorithms MD5 (Links to an external site.)Links to an external site. and SHA-1 (Links to an external site.)Links to an external site.

Script 2

Extend Script 1 - includes code from Script 1.

Ask the user if they wish to encrypt a password in MD5 Links to an external site. or SHA-1 Links to an external site. message digest algorithm

If so encrypt the password and then encrypt the resulting hash code with base64.

Display the results

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!