Please how can I with bash read a string for hashing with digest, from stdin?
bash-3.00$ digest -v -a md5 This is an input string.
digest: can not open input file This is an input string.
I did observe that the redirect operators are not displayed in the preview, so
I attach my example
You were so close :-(
$ echo This is an input string | digest -v -a md5
md5 35e1332bf506d35c7c9f1c2b0cb39d4e
Brian
Morten Gulbrandsen wrote:
Please how can I with bash read a string for hashing with digest, from stdin?
bash-3.00$ digest -v -a md5 This is an input string.
digest: can