MD5 utility
I am looking for a utility which will generate the md5 hashes for a given string of characters.
md5sum generated the hash for only files. What I want to do is call a utility through a script which will take input and generate the md5 hash for it . Any suggestions would be really appreciated. Karan |
Just use:
echo "given string of characters" | md5sum |
Karan, you have given me inpiration for shell scripts.
Thank you! |
Guys , thanks for your replies . But there is a problem . The md5 hash generated by GRUB differs from that given by "echo " name" | md5sum " .
Is there a way out ? |
Generated by GRUB? I haven't studied boot loaders too much. Is it supposed to generate hashes? :~
|
Yup , GRUB also generates an md5 hashed paxssword . Just type :
$ grub you will get a prompt like this :: > then type md5crypt enter a password and you will get the md5 hash. |
All times are GMT -5. The time now is 11:10 PM. |