Skip to content

Instantly share code, notes, and snippets.

@corysolovewicz
Created August 1, 2019 00:32
Show Gist options
  • Save corysolovewicz/b205e6d3a254799c0a9c19bd3bfae13e to your computer and use it in GitHub Desktop.
Save corysolovewicz/b205e6d3a254799c0a9c19bd3bfae13e to your computer and use it in GitHub Desktop.
Get SHA1 hash of text using openssl command
# 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