php - Does laravel safe hashes user passwords? -
so i'm running 1 project created laravel 5.1 , 1 guy said me passwords not secure hashes don't used etc. can see in function passwords bcrypted:
protected function create(array $data) { return user::create([ 'name' => $data['name'], 'email' => $data['email'], 'password' => bcrypt($data['password']), ]); } and passwords stored in db bcrypted. should worried words?
default laravel auth requires passwords bcrypted, you've shown in code. bcrypt industry standard one-way password hash , good.
if roll own authentication, can't control how handle password hashing. default laravel auth secure.
Comments
Post a Comment