laravel storing password to database encrypted code example Example: laravel password encryption $password = Hash::make('secret');