Step-1 we have to open controller where we have store fundtion like that
C:\xampp\htdocs\laravel-encryt-decrypt-main\app\Http\Controllers\AssetController.php
Step-2 copy this class and paste this code in your controller
Step-3 Now we are going to store password as a Encryption. see the blow pic.
Step-4 now you can take code form here and paste this code in your Controller.
Step-5 Now we are going to show password from encrypt to decrypt form.
Step-6 take code form here and paste in your controller
Step-7 This is your edit page code. see the blow image.
Step-8 follow this path and paste this code in your route.
I hope it will work.Thanks