Hi,
so, I've gone from using caffein-hx to haxe.SHA1 for encryption as I had weird behaviours in generating the signature,
it has been pushed on google code if you want to see it
I had to rewrite a HMAC class that could handle the specification of haxe.SHA1
thing is, I'm still having the same issues as with caffein-hx :
- result vary from plateform to plateform (tested on neko and flash)
- althought generated digest is valid for a simple key ( < 64 chars in length ) it is rubish when using a larger one (I compared with the result of php hash_hmac( "sha1", key, data ))
I can't seem to find the error in my implementation of HMAC and I tested SHA1 encoding on neko and flash with identical results so haxe.SHA1 is not the problem
Tarwin, this can be a good solution when it really speeds up things, I might add some shortcuts once I'm sure the pure haXe version is stable
Le mercredi 27 juin 2012 15:30:07 UTC+2, Renaud Bardet a écrit :