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
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