Open dmitry-yamaykin opened 6 years ago
I have test in flash builder with air 27 , it runs ok ,
For FlashDevelop and AIR SDK 25, I should install windows on VM later and test
Nope, with AIR SDK 27 I get the same result as above. Also, it would be a disaster if it would produce different results on different SDK's or Flash Player versions.
Just to make sure. After writeUTFBytes the ByteArray contains 31 32 33 34 35 36 in hex values.
ac1d1f03d08ea56eb767ab1f91773174 should be the MD5 hash you get for an empty string if you forget to pad the message with the 0x80 byte.
FlashDevelop, AIR SDK 25, ASC2.0, target version = 25, debug/release alike
com.adobe.crypto.MD5 from as3corelib.swc
MD5.hash("123456") = "e10adc3949ba59abbe56e057f20f883e" FastMD5.hash("123456") = "ac1d1f03d08ea56eb767ab1f91773174"