MD5 and SHA1 on terminal

Encode a string (MD5)

Encode a string (SHA1)

The -n after the echo command, prevents echo from appending a newline character on the end of the string.