new SymmetricCrypto()
Initializes the keys used for crypto, both optional
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 |