simple-codeigniter-rest-api icon indicating copy to clipboard operation
simple-codeigniter-rest-api copied to clipboard

What Paswored create

Open oleg-kosarev opened this issue 7 years ago • 0 comments

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))){ }

oleg-kosarev avatar Jan 25 '18 17:01 oleg-kosarev