We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 280c4e3 commit 76fc1feCopy full SHA for 76fc1fe
1 file changed
docs/references/authentication/hmac.md
@@ -187,7 +187,7 @@ old key. After the new encryption key is in place, run `php spark shield:hmac r
187
with the new encryption key.
188
189
```php
190
-public array $hmacEncryption [
+public array $hmacEncryption = [
191
'key' => [
192
'k1' => 'hex2bin:923dfab5ddca0c7784c2c388a848a704f5e048736c1a852c862959da62ade8c7',
193
'k2' => 'hex2bin:451df599363b19be1434605fff8556a0bbfc50bede1bb33793dcde4d97fce4b0',
@@ -198,10 +198,10 @@ public array $hmacEncryption [
198
],
199
'digest' => [
200
'k1' => 'SHA512',
201
- 'k2' => 'SHA512'
+ 'k2' => 'SHA512',
202
203
- 'currentKey' => 'k2',
204
- 'deprecatedKey' => 'k1'
+ 'currentKey' => 'k2',
+ 'deprecatedKey' => 'k1',
205
];
206
```
207
0 commit comments