We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96d539f commit 67546dbCopy full SHA for 67546db
README.md
@@ -75,11 +75,11 @@ Creates a new challenge for ALTCHA.
75
76
```php
77
$options = new ChallengeOptions(
78
- algorithm: ChallengeOptions::DEFAULT_ALGORITHM,
79
- maxNumber: ChallengeOptions::DEFAULT_MAX_NUMBER,
+ algorithm: Algorithm::SHA256,
+ maxNumber: BaseChallengeOptions::DEFAULT_MAX_NUMBER,
80
expires: (new \DateTimeImmutable())->add(new \DateInterval('PT10S')),
81
params: ['query_param' => '123'],
82
- saltLength: ChallengeOptions::DEFAULT_SALT_LENGTH
+ saltLength: 12
83
);
84
```
85
0 commit comments