MD5 hash

_$: printf "asd" | md5sum
_$: md5sum
<string>
<Ctrl + D>
<Ctrl + D>
<string><hashed string>

SHA256 hash

_$: printf "asd" | sha256sum
_$: sha256sum
<string>
<Ctrl + D>
<Ctrl + D>
<string><hashed string>