usa md5 o sha1 e ci aggiungi un salt solo a te noto
A database la query andrà a cercare l'hashCodice PHP:$id = 3;
$salt = "x_&F2Dd";
$hash = md5($id . $salt);
Codice PHP:$query = "SELECT * FROM table WHERE md5(id.".$salt.") = '".$hash."'";
![]()
usa md5 o sha1 e ci aggiungi un salt solo a te noto
A database la query andrà a cercare l'hashCodice PHP:$id = 3;
$salt = "x_&F2Dd";
$hash = md5($id . $salt);
Codice PHP:$query = "SELECT * FROM table WHERE md5(id.".$salt.") = '".$hash."'";
![]()