Support the ongoing development of Laravel.io →
Configuration Security
Last updated 2 years 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!

Eventy

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.

© 2024 Laravel.io - All rights reserved.