Skip to content

Kirby 4.4.1

$symmetriccrypto->encrypt()

Encrypts a string using the secret key or password

$symmetriccrypto->encrypt(string $string): string

Parameters

Name Type Default
$string * string

Return type

string

Parent class

Kirby\Toolkit\SymmetricCrypto