Hoi,
Om mijn wachtwoorden te checken gebruik ik:
Maar mijn database heeft sha1 + salt, hoe los ik dat op?
Om mijn wachtwoorden te checken gebruik ik:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$uFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]passwd[/COLOR][COLOR= #007700]] !=[/COLOR] [URL="http://www.php.net/sha1"]sha1[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]passwd[/COLOR][COLOR= #007700]])){[/COLOR]
?> Maar mijn database heeft sha1 + salt, hoe los ik dat op?


Ik raad je trouwens wel sterk aan om een salt te gebruiken want er zijn altijd sha1 tables met wachtwoorden die sommige mensen kunnen gebruiken als 12345 etc