Portable PHP password hashing framework and ActionScript 3 equivalent

1.1k Views Asked by At

Well? Is it possible? Passwords stored in the database are hashed with The Portable PHP Password Hashing Framework (http://www.openwall.com/phpass/).

How can I hash them in the same manner with AS3?

If that is not possible, what is the strongest hashing algorithm in the as3crypto library? Is it hmac-sha256?

Thank you.

1

There are 1 best solutions below

1
On

MD5 with some salt should be good enough and is supported on almost any platform. If you're not sure how to salt a hash, you could take a look at this tutorial: http://www.pixel2life.com/publish/tutorials/118/understanding_md5_password_encryption/