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

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

How to get password received from user without encryption

Postby MrPencen » 31 Jul 2021, 18:08

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: 23007
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How to get password received from user without encryption

Postby Lapo » 01 Aug 2021, 09:33

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

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: Bing [Bot] and 47 guests