Laravel supported ciphers are AES-128-CBC and AES-256-CBC

On a Laravel application, I get the following error message

The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
Laravel error

To fix the error, run the command

php artisan key:generate

This will generate a new key and add to the .env file.

Advertisement

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement