20.02.2013, 02:11
Nice tutorial, this is how I do mine:
Wrote this off memory as I'm on the phone atm. I also use this method in my php scripts
pawn Код:
New salt[100], salts[2][50];
Format(salt, 100, "my salt");
Strmid(salts[0], salt, 0, 50);
Strmid(salts[1], salt, 50, 100);
New hashedPass[300]:
Format(hashedPass, 300, "%s%s%s", salts[0], password, salts[1]);
WP_Hash(hashedPass, 300, hashedPass);