laravel: in Encrypter.php line 81: mcrypt_encrypt(): Size of key is too large for this algorithm




222
laravel: in Encrypter.php line 81: mcrypt_encrypt(): Size of key is too large for this algorithm
Рейтинг 8 из 10. Голосов: 1
Ваша оценка:

laravel: in Encrypter.php line 81: mcrypt_encrypt(): Size of key is too large for this algorithm

используйте длину ключа 16,24 или 32 байт

You need to edit /app/config/app.php and change the key on line 81.

'key' => env('APP_KEY', 'qwertyuiop[...................'),
'cipher' => MCRYPT_RIJNDAEL_128,

Вопросы и ответы