Skip to content

Commit b885bb5

Browse files
authoredJul 31, 2024··
Include key:generate command
1 parent 1bb08bd commit b885bb5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎services/hashing-encryption.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22

33
## Configuration
44

5-
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.
5+
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.
6+
7+
To set this key you can run
8+
9+
```bash
10+
php artisan key:generate
11+
```
612

713
## Hashing
814

0 commit comments

Comments
 (0)
Please sign in to comment.