I try to get base64 encoded md5 hashed password with salt (salt is md5, I got base64 encoded)
var pass = "hello";
var salt=haxe.crypto.Base64.encode(haxe.crypto.Md5.make(haxe.io.Bytes.ofString("hello")));
trace(haxe.crypto.Base64.encode(haxe.crypto.Md5.make(haxe.io.Bytes.ofString(haxe.crypto.Base64.decode(salt).toString() + haxe.crypto.Md5.make(haxe.io.Bytes.ofString(pass)).toString()))));
on neko it writes:
YWsigXuA7tn2XDqjjNKQVA==
but flash give me:
9Hpay/lKyMcm/s8qpPRczQ==
why they are different? and how I can solve this?
This solve the problem