I am trying to calculate the md5 hash of a string (say 'hunter5'). To do this, I run
md5sum , type or paste the string, then type Control-D (EOT) twice.
> md5sum hunter5ef6ea1eaa2e851d5d855f7773fc150af *-
The hash is printed on the same line as the original string, which makes it frustrating to copy and paste. Is there a better way?
I have this problem both in Windows and Linux.