Answers for "php artisan tinker encription cmd"

PHP
0

php artisan tinker encription cmd

>> php artisan tinker

$admin = new App\Admin;
$admin->name= "admin";
$admin->email="[email protected]";
$admin->password= Hash::make('password');
$admin->save();

Hash::make('new_password');
=> "$2y$10$mxpQR9NLHLqTnC0D8I0dmeQcXgwdKIuD9roPYjl.YMvsXCVVoRuXG"
>>> bcrypt('new_password');
=> "$2y$10$mxpQR9NLHLqTnC0D8I0dmeQcXgwGGm1112rDxwVrUP9boDaMuKE8i"
Posted by: Guest on July-01-2021

Code answers related to "php artisan tinker encription cmd"

Browse Popular Code Answers by Language