Created
August 1, 2019 00:32
-
-
Save corysolovewicz/b205e6d3a254799c0a9c19bd3bfae13e to your computer and use it in GitHub Desktop.
Get SHA1 hash of text using openssl command
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
# pipe text to openssl command | |
echo -n "<text>" | openssl sha1 | |
# example using the word 'password' as text | |
echo -n "password" | openssl sha1 | |
# (stdin)= 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 | |
# check out https://hashes.org/hashlists.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment