Page 1 of 1

MD5 AS3 problem

Posted: 20 Nov 2010, 14:58
by GolceaVlad
Hey guys,
I'm having this problem, I'm not getting the same answer from the server, but the password is the same.

My way to hash it in AS3 is :

var newPass:String = MD5.hash(Assets.KEY + _password);

and on the server side it looks like :

var md5 = _server.md5(key + passw)

The key is the same in both. The password is also the same. The outcome : md5 hash - is not.
Am I doing something wrong ?

Posted: 21 Nov 2010, 17:49
by BigFIsh
Can you please give us an example of the data being passed onto both methods that results in them not being the same?

Posted: 22 Nov 2010, 16:04
by GolceaVlad
lol already got over it.

I was using a font that automatically makes the password BOLD :| . And the password is case sensitive.