[Gambas-user] crypt.md5 vs md5sum

Sebi sebikul at ...626...
Mon Jun 11 17:39:16 CEST 2012


You should use echo -n to prevent it from printing a /n character. But anyway, they are different. 
-----Original Message-----
From: Demosthenes Koptsis <demosthenesk at ...626...>
Date: Mon, 11 Jun 2012 11:59:10 
To: mailing list for gambas users<gambas-user at lists.sourceforge.net>
Reply-To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Subject: [Gambas-user] crypt.md5 vs md5sum

hello,

i noticed a difference between crypt.md5 function and command md5sum.
Both give different results

echo password | md5sum
is different from
crypt.md5("password")

why is that?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


More information about the User mailing list