new SymmetricCrypto()
Initializes the keys used for crypto, both optional
new SymmetricCrypto(?string $password = null, ?string $secretKey = null)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $password | string|null |
null |
Password to be derived into a $secretKey |
| $secretKey | string|null |
null |
256-bit key, alternatively a $password can be used |