laravel generate encryption key code example
Example 1: laravel password encryption
$password = Hash::make('secret');
Example 2: encryption key laravel cli
php artisan key:generate
$password = Hash::make('secret');
php artisan key:generate