php artisan tinker encryption cmd

Solutions on MaxInterview for php artisan tinker encryption cmd by the best coders in the world

showing results for - "php artisan tinker encryption cmd"
Oisin
01 Feb 2020
1>> php artisan tinker
2
3$admin = new App\Admin;
4$admin->name= "admin";
5$admin->email="admin@admin.com";
6$admin->password= Hash::make('password');
7$admin->save();
8
9Hash::make('new_password');
10=> "$2y$10$mxpQR9NLHLqTnC0D8I0dmeQcXgwdKIuD9roPYjl.YMvsXCVVoRuXG"
11>>> bcrypt('new_password');
12=> "$2y$10$mxpQR9NLHLqTnC0D8I0dmeQcXgwGGm1112rDxwVrUP9boDaMuKE8i"