Menampilkan nilai MD5 dari suatu string

echo -n jaranguda.com | md5sum
## output 
4964c66df8b84ea852fadf575156f7b8  -

atau

md5sum <<< "jaranguda.com"
## output 
4a1141be1f3b26cf8afa958b5f4742f0  -

MD5 dari file

md5sum password.txt
## output 
d41d8cd98f00b204e9800998ecf8427e  password.txt

Nilai MD5 dari beberapa file sekaligus

md5sum password1.txt password2.txt password3.txt password4.txt password5.txt
## output 
d41d8cd98f00b204e9800998ecf8427e  password1.txt
d41d8cd98f00b204e9800998ecf8427e  password2.txt
d41d8cd98f00b204e9800998ecf8427e  password3.txt
d41d8cd98f00b204e9800998ecf8427e  password4.txt
d41d8cd98f00b204e9800998ecf8427e  password5.txt

Leave a comment

Your email address will not be published. Required fields are marked *