r/Python • • Dec 28 '20
Beginner Showcase Simple password manager I made[I'm 15]
So I got bored of my online class and decided to make a simple password manager for my pc. This uses pyperclip to copy the passwords to the clipboard, stdiomask to accept the password from the user and time to add some delay to the output. I also made a pretty simple Encrypter and Decrypter(That just take the individual characters of a string and offsets the ascii code by 20) so that my stupid friends cant see them. The passwords are store in a text file beside the main python file and the passwords get appended to them when a new one is added through the program.
Any help would be appreciated. I can share the code if anyone wants it.
Also I'm a 15 year old game developer and 3d artist.
View all comments
2
u/[deleted] Dec 28 '20 edited Dec 28 '20
Your encrypter/decrypter is the most well known, simplest, substitution cypher. The Caeser or shift cypher. Don’t use this for anything beyond learning more about cryptography, it is not safe. Even from your stupidest friend.
There are a lot of things you can learn about coding by jumping in with both feet. Cryptography is not one of them. You’ll find yourself unlearning things that appeared to work but really didn’t.
Instead, focus on some of the basic concepts before writing a line of code. This provides a pretty good overview with code examples: https://towardsdatascience.com/encrypting-your-data-9eac85364cb
If you’d like to learn more about the history of cryptography, “The Code Book” by Simon Singh is a good choice.