Question: For this homework, you will be working on string manipulation in Python. Your task is to create a program that stores accounts as usernames and

For this homework, you will be working on string manipulation in Python. Your task is to create a program that stores accounts as usernames and passwords within a single string. The program encrypts passwords before storing them. The program will consist of various functions for retrieving passwords for a given username, verifying the correct passwords, and adding accounts.
You will get a starter file with functions and some variables (ALPHABET, ENCRYPTION_KEY, and users_passes) initialized. In the users_passes string, there is a # between user names and passwords; there is a * between every username#password pair.
users_passes = "donald#xgfc*mickey#zygon*snow#smbpn"
User names and (encrypted) passwords in the users_passes string are as follows:

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 Programming Questions!