Encoding players passwords.
#9

No, if a player creates a new account on your server (means creating a new file at scriptfiles directory) so you have to hash the registration password right after the player attempts to create a new account. Now usually this player will quit and rejoin again to play with its stats. So after the player logs into your server to use its stats you have to hash the password the player uses to write to log in, get the earlier saved one and compare both strings to check whether the password was correct or just totally wrong.

There is no sense to decode passwords to compare O_o
Reply


Messages In This Thread
Encoding players passwords. - by MrPlatinum - 28.09.2012, 11:09
Re: Encoding players passwords. - by Red_Dragon. - 28.09.2012, 11:13
Re: Encoding players passwords. - by MrPlatinum - 28.09.2012, 11:18
Re: Encoding players passwords. - by stabker - 28.09.2012, 11:21
Re: Encoding players passwords. - by MrPlatinum - 28.09.2012, 11:25
Re: Encoding players passwords. - by HyDrAtIc - 28.09.2012, 11:26
AW: Encoding players passwords. - by BigETI - 28.09.2012, 11:28
Re: Encoding players passwords. - by MrPlatinum - 28.09.2012, 11:34
AW: Encoding players passwords. - by BigETI - 28.09.2012, 11:40
Re: AW: Encoding players passwords. - by stabker - 28.09.2012, 11:43

Forum Jump:


Users browsing this thread: 1 Guest(s)