How to generate Hashing password as a string in command prompt which can be used in MySQL

0 Shares
0
0
0
0
0
0
0

Following way to generate Hashing password as a string in command prompt which can be used in MySQL for your Laravel Project

Open the command prompt and go to your projects root directory. Navigate to directory name by typing

cd <directory name>

Then type:

php artisan tinker

Then

echo Hash::make(‘YourPasswordString’);

This will display the hashed password on the console. Now you can copy it and do what you want.