How to get password received from user without encryption

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
MrPencen
Posts: 5
Joined: 31 Jul 2021, 17:58

How to get password received from user without encryption

Post by MrPencen »

Hello Am using SFS pro

I just need to receive the password which the user sends to the server during log in without encryption

I know if I wanna compare the password of user with the password in the database I use that:

Code: Select all

		 _server.md5(_server.getSecretKey(chan)+("pass"))
and It works without problems

But I need the true password for another thing

How can I do that? or can you help me to make a function that decrypts the password?


Thank you
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How to get password received from user without encryption

Post by Lapo »

Hi,
there is no way. The password is encrypted with an asymmetrical algorithm such as MD5, which is not reversible.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply