hash string

echo -n 123456 | md5sum
echo -n 123456 | md5sum | cut -d" " -f1

hash file

md5sum a.file > a.md5

check md5

md5sum -c a.md5

 

How to get the MD5 hash of a string directly in the terminal?

md5sum小技巧

arrow
arrow
    全站熱搜

    JohnDX 發表在 痞客邦 留言(0) 人氣()