mcrypt_decrypt() error change key size

后端 未结 8 1641
慢半拍i
慢半拍i 2020-12-06 05:17

mcrypt_decrypt(): Key of size 15 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported

How Can I fix this issue? my

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-06 05:32

    For Laravel 5

    Just run php artisan key:generate:

    Application key [EaaJgaD0uFDEg7tpvMOqKfAQ46Bqi8Va] set successfully.
    

    If you don't see your key updated, just paste it in your .env file.

    APP_KEY=EaaJgaD0uFDEg7tpvMOqKfAQ46Bqi8Va

    Refresh your page

提交回复
热议问题