Validation
- Full name:
\Qubus\Http\Cookies\Validation\Validation
Constants
| Constant | Visibility | Type | Value |
|---|---|---|---|
DEFAULT_ALGO | public | 'sha256' | |
NONCE_LENGTH | public | 32 |
Properties
key
algo
Methods
__construct
Parameters:
| Parameter | Type | Description |
|---|---|---|
$key | string | |
$algo | ?string |
extract
Parameters:
| Parameter | Type | Description |
|---|---|---|
$value | mixed |
sign
Parameters:
| Parameter | Type | Description |
|---|---|---|
$value | mixed |
verify
Parameters:
| Parameter | Type | Description |
|---|---|---|
$message | \Qubus\Http\Cookies\Validation\Message |
generateNonce
- This method is static.
hashCompare
- This method is static.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$hash1 | mixed | |
$hash2 | mixed |
Automatically generated on 2025-10-13