I'm not very good at crypto, I know just the basic stuff. The more power the password derivation needs, the better. So, what's the usual reason to do it server-side anyway? Browsers not supporting it? Could gideros support it? Am I making a error in reasoning?
I've built a communication model over with UrlLoader (https) into my current little game. Well, passwords are stored plain text in the database. Don't want to waste server resources if I *could do it client-side.
Hm, what should I do?
Comments
https://deluxepixel.com
Just make sure to protect it, by encrypting it. Search for lua based encryption modules, I also saw something like this shared here on the forum too
Also don't forget to use built in encryption on lua files, so now one would see the way you encrypt authentication
This is madness btw...
You should never store passwords (encypted or plain text), instead use salted hashes of the original password.
https://deluxepixel.com
From a paranoid view it's not that great to ask the server for the hash, since lately there have been SSL breaks and UrlLoader isn't confirmed against that?, and a hacked server would leak the password before hashing. That's why I would have preferred hashing in Gideros. Plus server performance reasons.