Jump to content

[HELP] sha256 crypting


Recommended Posts

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 by Prever77
Link to comment
  • 3 weeks later...
  • 1 year later...
  • Moderators
13 hours ago, Amiram said:

Hello, the MTA Club website has been bugged in the model encrypter section and unfortunately it is not downloading, please take care of it.

Hi, you should reach out to the owner of that site and inform him of your findings. For reference, MTA Club is being maintained by @Patrick

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...