Overview for hash

How to create md5 hash from a string in Linux

Syntax for creating md5 hash in vert simple:

echo -n "mystring" | md5sum

If case you need to store created hash in a file, you can easily do it. For example we want to store md5 hash in "hash.md5" file:

$ echo -n "mystring" | md5sum >> hash.md5

Read more

Written by Administrator on Sunday March 22, 2020