Login for Python
JordanDixon1 (305)

I made a login for Python. It needs work (Encryption isn't my strong suit.) but I'm still proud of it because I'm a "little" new to programming.

You are viewing a single comment. View All
Tricksyz (18)

I made your login prompt more secure by encrypting your password in an MD5 and making uchoice so that it converts to MD5 and checks if the two hashes are the same. https://repl.it/@Tricksyz/detective-log-in

JordanDixon1 (305)

@Tricksyz Do you think theres a way to encrypt the data as well?

CSharpIsGud (436)

@Tricksyz That's not really more secure, its equivalent to just comparing the passwords. Now if we were talking authentication with a server, its redundant. anything you send over a HTTPS connections is encrypted for you. if its just HTTP then md5 wont help, to quote Wikipedia Although MD5 was initially designed to be used as a cryptographic hash function, it has been found to suffer from extensive vulnerabilities. It can still be used as a checksum to verify data integrity, but only against unintentional corruption.