Hi,
I answer myself...
If fix the issue by patching MD5.as by removing UTF8 encoding like this
:
/*
* Encode a string as utf-8
*/
private static function str2rstrUTF8 (input:String):String
{
return input;
//return unescape(encod
Hi,
Here is one test file of 1 octet (0xc0 ie 192 in decimal) inside.
When using md5sum (on linux) of this file the result is
4843a4868714fa7589e8ef87756bcacf
But when I do this :
import org.apache.royale.utils.MD5;
var test:BinaryData = new BinaryData([0xc0]); //À
trace("->" + MD5.hash(