Prever77 Posted June 8, 2023 Share Posted June 8, 2023 (edited) Hi. I have came here with small question. I've made login panel. And everything works fine with standard sha256 function. But i want add salt to passwords and i have no idea how to do it.maybe someone of you can help. Thanks function etcetc(pass,log) --pass is string if log and pass then local passwd = sha256(pass+"salt") dbQuery(myBasePass,"INSERT etc etc.."passwd" ") end --i realy don't know what i'm doing xDD, maybe --it's time for sleep Edit1 Nevermind. Contagenation in lua is made by two dots operand. Small thing. And can take whole day. Edited June 9, 2023 by Prever77 Link to comment
Moderators Patrick Posted June 9, 2023 Moderators Share Posted June 9, 2023 Consider reading this: Link to comment
Prever77 Posted June 26, 2023 Author Share Posted June 26, 2023 On 09/06/2023 at 08:11, Patrick said: Consider reading this: ty Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now