Last active
December 14, 2015 11:49
-
-
Save mjj2000/5081474 to your computer and use it in GitHub Desktop.
Generate md5 hash of source string typed by user
This file contains hidden or 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
# generate md5 hash of source string typed by user | |
echo -n 'source string:' | |
read str | |
echo -n $str | md5sum |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment