I am working on a small project that requires the registration of the password of my user is in MD5.
I know that for more security it's better to use BCRYPT, but I'm trying to find out if there is a way to implement something more simple
I am working on a small project that requires the registration of the password of my user is in MD5.
I know that for more security it's better to use BCRYPT, but I'm trying to find out if there is a way to implement something more simple
protected function create(Request $request)
{
$user= User::create([
'username' => $request->user_name,
'email' => $request->email,
'password' => md5($request->password),
]);
}