Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

madala's avatar

RuntimeException in Encrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

i clone the project from bitbucket and run composer update and i'm getting below error.

RuntimeException in Encrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

can you guys help me with this.

0 likes
2 replies
Mittensoff's avatar
Level 3

Do a php artisan key:generate, because your unique application key is used for encryption in your Laravel app.

Please or to participate in this conversation.