MD5 AS3 problem

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
GolceaVlad
Posts: 36
Joined: 23 Aug 2010, 17:55

MD5 AS3 problem

Post 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 ?
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Post 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?
Smartfox's forum is my daily newspaper.
GolceaVlad
Posts: 36
Joined: 23 Aug 2010, 17:55

Post by GolceaVlad »

lol already got over it.

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