27.05.2014, 22:56
I'm currently working on a UCP for my for gamemode however when I created a login / register I realized that my script uses passwords that are whirpooled and then hashed which means I will have to do the same thing on the PHP side of things. So what I need is help converting this PAWN function into PHP, here it is.
Код:
salt[saltSize] = random(2) ? (random(26) + (random(2) ? 'a' : 'A')) : (random(10) + '0');