I'm creating a game with Unity and Smart Fox Server and would like to use my wordpress database. My first attempt:
string cryptedPassword = Crypter.PhpassCrypter.Crypt(password);
The output I'm getting has the correct prefix so there's just something I'm not quite grasping.
I tried using the salt string in the wp-settings.php file,
string cryptedPassword = Crypter.PhpassCrypter.Crypt(password, 'bigLongSaltInWP-file');
but I get an 'invalid salt' return.
PHP, and especially phppass, are foreign to me and I'm still reading over phppass specifically, but I'm just not seeing how it's using the salt strings which leads me to believe that I'm completely missing whats happening.