[Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Demosthenes Koptsis
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

Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Sebi
list for gambas users gambas-user@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

Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Adrien Prokopowicz
-user@lists.sourceforge.net Reply-To: mailing list for gambas users gambas-user@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

Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Demosthenes Koptsis
even i set a prefix the result is different. and i dont know what prefix to use to have the same result with md5sum? Στις 11/6/2012 18:51, ο/η Adrien Prokopowicz έγραψε: I've already got this problem too. That's because if you don't give any prefix, a random one is used. (see

Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Jussi Lahtinen
The crypt algorithm is encoded in the crypt string, so you do not need to specify it. http://gambasdoc.org/help/comp/gb.crypt/crypt/check?v3 So, I don't think you can use it to get clear MD5 sums. But you can use this; Dim sPassword As String Dim sCheckSum As String sPassword = MyPassWord