I currently have a web service whose backend database stores user passwords using phpass under PHP 5.3 —so it's using CRYPT_BLOWFISH
. I have exposed an API from that server and I want to authenticate users through that API from and iPhone app. The server uses SSL but I want to hash the password before transferring it.
How can I create a phpass compatible hash from objective-c?