Created
September 2, 2020 08:27
-
-
Save vpnwall-services/490b9f7d526856eac01f4d2a614db96a to your computer and use it in GitHub Desktop.
[Mysql Encrypt Password] Encrypt a password the same way as Mysql does #linux #python #mysql #encrypt #password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
python -c 'from hashlib import sha1; print "*" + sha1(sha1("mypassword").digest()).hexdigest().upper()' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment