$symmetricCrypto->secretKey()
Returns the binary secret key, optionally derived from the password or randomly generated
$symmetricCrypto->secretKey(string|null $salt = null, array{int, int}|null $limits = null): string
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $salt | stringornull |
null
|
Salt for password-based key derivation |
| $limits | array{int, int}ornull |
null
|
Processing limits for password-based key derivation |
Return type
string