The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
2017-11-15 18:57
495 查看
Laravel 出现"RuntimeException inEncrypter.php
line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths."问题的解决办法
首先在cmd命令行下定位到项目所在的根目录下,接着输入:
[plain]
view plain
copy
php artisan key:generate
效果:
这时候项目根目录下的.env文件里的APP_KEY应该会有值了:
若没有,则将上一步生成的key值输入进去即可。
相关文章推荐
- The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
- The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
- Laravel 出现"RuntimeException inEncrypter.php line 43: The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths."问题的解决办法
- The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
- No supported encrypter found. The cipher and / or key length are invalid.
- Laravel No supported encrypter found. The cipher and / or key length are invalid
- The key you are authenticating with has been marked as read only的解决方法
- 部署laravel报错:No supported encrypter found. The cipher and / or key length are invalid.
- No supported encrypter found. The cipher and / or key length are invalid.
- No supported encrypter found. The cipher and / or key length are invalid.
- 使用lavarel5.1碰到No supported encrypter found. The cipher and / or key length are invalid.
- laravel No supported encrypter found. The cipher and / or key length are invalid
- No supported encrypter found. The cipher and / or key length are invalid.
- laravel No supported encrypter found. The cipher and / or key length are invalid.
- Navigation is only supported to relative URIs that are fragments, or begin with '/', or which contain ';component/'. Parameter name: uri
- paramiko.SSHException: Unknown private key cipher "AES-128-CBC"
- error C4996: Function call with parameters that may be unsafe - this call relies on the caller to check that the passed values are correct
- 解决 `manpath: can't set the locale; make sure $LC_* and $LANG are correct`
- The cipher 'aes256-cbc' is required, but it is not available
- Duplicate methods named spliterator with the parameters () and () are inherited from the types Colle