.:HyPeX:. Posted December 25, 2015 Share Posted December 25, 2015 Hello guys, up to a while ago on IPB i used the usual md5(md5(salt)..md5(password)) but that no longer works as implied by IPS since they now use something called "Blowfish" HERE and i'm not even sure this can be decrypted in MTA to compare a password, anyone knows any workarround? Greets Link to comment
Noki Posted December 25, 2015 Share Posted December 25, 2015 You could look for some sort of web API or hope that someone writes a module for MTA similar to bcrypt. Link to comment
Syntrax# Posted December 26, 2015 Share Posted December 26, 2015 http://sladex.org/blowfish.js/ Link to comment
GTX Posted December 26, 2015 Share Posted December 26, 2015 Why would you work internally in MTA? With callRemote and MTA PHP SDK you can achieve anything. Also, see this post. https://forum.multitheftauto.com/viewtopic.php?f ... 50#p854695 Link to comment
.:HyPeX:. Posted December 30, 2015 Author Share Posted December 30, 2015 This did the work, thanks anyways <?php $password = $_GET["password"]; $salt = $_GET["salt"]; $crypted = crypt( $password, '$2a$13$' . $salt ); echo $crypted; ?> Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now