simple-codeigniter-rest-api
simple-codeigniter-rest-api copied to clipboard
What Paswored create
i understend pasword is php function crypt wtch hash_equals and $hashed_password in mysql. But mysql in pasword hashed? if hased crypt("mypasword", "myseret") what myseret?
$hashed_password = $q->password; $id = $q->id; echo $hashed_password ." ".$password; //exit; if (hash_equals($hashed_password, crypt($password, $hashed_password))){ }