diff --git a/services/hashing-encryption.md b/services/hashing-encryption.md index e70bb210..94d2b1e4 100644 --- a/services/hashing-encryption.md +++ b/services/hashing-encryption.md @@ -2,7 +2,13 @@ ## Configuration -When you first installed Winter, a random key should have been generated for you. You can confirm this by checking the `key` option of your `config/app.php` configuration file. If the key remains unchanged, you should set it to a 32 character, random string. If this value is not properly set, all encrypted values will be insecure. +When you first installed Winter, a random key should have been generated for you. You can confirm this by checking the `key` option of your `config/app.php` configuration file, or the `APP_KEY` of your `.env` file. If the key remains unchanged, you should set it to a 32 character, random string. If this value is not properly set, all encrypted values will be insecure. + +To set this key you can run + +```bash +php artisan key:generate +``` ## Hashing