Laravel supported ciphers are AES-128-CBC and AES-256-CBC
On a Laravel application, I get the following error message
1 |
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths. |
To fix the error, run the command
1 |
php artisan key:generate |
This will generate a new key and add to the .env file.