Skip to content

Kirby 4.4.1

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

Parent class

Kirby\Toolkit\SymmetricCrypto