generate md5 in terminal linux

berikut ini cara kalau kamu mau generate md5 di linux

let’s say you want to know kalo md5 dari kata-kata ‘awan super tampan’

root@google:~# echo -n "awan super tampan" | md5sum
c4d153482e813a1802043dadd4095a30 -

md5 dari kata-kata ‘awan super tampan’ = c4d153482e813a1802043dadd4095a30

kamu bisa coba dengan variable


root@google:~# kata1=awan
root@google:~# kata2=super
root@google:~# kata3=tampan

root@google:~# echo -n "$kata1 $kata2 $kata3" | md5sum
c4d153482e813a1802043dadd4095a30 -

generate 12 random password and then make md5 from that password


root@google:~# cat /dev/urandom| tr -dc 'a-zA-Z0-9' | fold -w 12| head -n 1 | md5sum
93f0b1ab71e4dce5172525c3ac6141a6 -

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s