Created
July 11, 2020 01:48
-
-
Save fabioyamate/f3c0b1077c3ae50e3bbf45c4d3be84c4 to your computer and use it in GitHub Desktop.
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 | |
# TODO would it be possible to write in one line? | |
echo "Password: " | |
read -s password | |
echo -n $password | openssl dgst -sha256 -binary | xxd -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment