Password Encrpytion
#1

Hey,

I need a snippet for this;

$salt = random hash;
$password = entered password;

Код:
md5(md5($salt) . md5($password))
Needed for a SQL function:
Код:
 format(stringsize, sizeof(stringsize), "SELECT * FROM "SQL_TABLE" WHERE Name = '%s' AND Password = md5('%s') LIMIT 1", pname, SQL_Escape[Escape]);
Salt needs to be randomly generated.
Reply
#2

Also interested in this.
Reply
#3

i really need this .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)