Skip to content

Commit

Permalink
Include key:generate command
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers authored Jul 31, 2024
1 parent 1bb08bd commit b885bb5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion services/hashing-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b885bb5

Please sign in to comment.