Laravel 4 - Hashing same password gives different values
问题 I am trying to authenticate a user using the Auth::attempt() method and it keeps failing, so I eventually ended up with the following code: $arr = array(); $arr['verified'] = Hash::make('1234') . ' ; ' . Hash::make('1234'); return json_encode($arr); and this is the result: {"verified":"$2y$10$V4yXBUcxealfLrzOE\/xAD.sJ8qpNhrMA6K6dENBBXYqaVx1zSETgy ; $2y$10$C9xpOWLTUyfy1KL.Y3Tot.KWADmQYFK\/HAf6uZGGXTKcVh52qHS4m"} As you can see, the first hash gives $2y$10$V4yXBUcxealfLrzOE\/xAD