The MD5 test actually failed in Flash too. Although the error was different.
I’m not sure why it was failing. I’m pretty sure the code was the same as the Flex version with ByteArray swapped for BinaryData. > On Jun 21, 2018, at 7:26 PM, Alex Harui <[email protected]> wrote: > > Hmm. So are you saying the original code works in SWF but not when > transpiled to JS and run in the browser? We might need to understand why and > change the compiler output and/or document how to write AS that can transpile > correctly. > > FWIW, the Ant_On_AIR library has a custom MD5 algorithm that is significantly > faster than these standard function call based MD5 algorithms. It would be > interesting to see if it transpiles correctly and provides significant > performance improvements in JS as well. > > My 2 cents, > -Alex > > On 6/21/18, 2:02 AM, "Harbs" <[email protected]> wrote: > > I forgot. The ported MD5 code did not work. I just replaced it with an MIT > JS implementation… > >> On Jun 21, 2018, at 1:20 AM, Harbs <[email protected]> wrote: >> >> FYI, the MD5 test there now fails. I have no idea why. Maybe I messed >> something up with my BinaryData changes, but I can’t see what… > > >
