Laravel 5 package to use unsecured MD5 for password hash
This package is used to replace Laravel's default hash to support old system that used MD5 for password hash.
Please use it with your own risk, since MD5 is not recommended to be used as password hash.
Using Composer, just run this command below.
composer require matriphe/laravel-md5-hash
After installed, open
config/app.php and find this line.
Comment or remove that line and add this line to override Laravel's hash handling.
Now you can use built in hash function using this command.
Hash::make('password'); // return 5f4dcc3b5aa765d61d8327deb882cf99 bcrypt('password'); // return 5f4dcc3b5aa765d61d8327deb882cf99
The MIT License (MIT). Please see License File for more information.