encrypt passwords already registered - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: encrypt passwords already registered (
/showthread.php?tid=392945)
encrypt passwords already registered -
Tiu_DaColombia - 16.11.2012
Good friends, I need urgent help.
the thing is, I'm trying to encrypt the password of the players, I've tried everything, I tried the gm's GF, and now I tried to get more of the "Wrong password", I wish someone would help me encrypt passwords of the accounts of players already registered, not the wrong password, hugs.
Re: encrypt passwords already registered -
Konstantinos - 16.11.2012
Use
Whirlpool for that! It's very good and easy way to use it.
You can actually do it, just use whirlpool and for every player who login again, update his/her data by using the hash method.
Re: encrypt passwords already registered -
Tiu_DaColombia - 16.11.2012
Quote:
Originally Posted by Dwane
Use Whirlpool for that! It's very good and easy way to use it.
You can actually do it, just use whirlpool and for every player who login again, update his/her data by using the hash method.
|
Friend, as I put it to a little confused
Re: encrypt passwords already registered -
Konstantinos - 16.11.2012
Let me explain you what I meant before.
A player who is registered, logins again (It is supposed you have changed the code for hashed passwords).
It compares his password with the password he types either as a parameter on a command or as an input text.
If it is correct, it sets on the password the hashed one you've made and then loading his data.