Support the ongoing development of Laravel.io →
Configuration Security
Last updated 7 months ago.
0

anyone?

0
Solution

Yes, to decrypt you need the same APP_KEY you used to encrypt.

You can just test it in artisan tinker console. Start console, encrypt something, save in a file, exit, change app key in .env file, restart console, load a file, try to decrypt.

0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

e4rthdog e4rthdog Joined 15 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.