Passwordify
Please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.mit.edu) to authenticate, and then you will be redirected back to this page.
You decide you need to make your passwords more secure. You come up with a simple algorithm to transform your old string passwords into new strings. Here you'll implement that algorithm.
Write a program which makes the following character replacements in a string:
The first line of your program should set up a variable password
to hold the input string. For example:
password = 'iLoveDogs123'
Your program should print the resulting new password. For example, it would print the following string:
'!L0v3D0gs123'
Once you've tested your code by hand, upload your file for testing:
No file selected
Footnotes
1Disclaimer: this algorithm is far from sufficient to create safe passwords! Wikipedia gives good guidelines to protect yourself.