Table of Contents
Constants
-
METHOD
= 'aes-256-cbc'
Properties
-
$config
: Config
-
$encKey
: string
-
$hmacKey
: string
Methods
-
__construct()
: mixed
-
decrypt()
: string
-
encrypt()
: string
METHOD
private
mixed
METHOD
= 'aes-256-cbc'
$config
private
Config
$config
$encKey
private
string
$encKey
$hmacKey
private
string
$hmacKey
__construct()
public
__construct(Config $config) : mixed
Parameters
-
$config
: Config
-
decrypt()
public
decrypt(string $messageBundle) : string
Parameters
-
$messageBundle
: string
-
-
throws
-
Exception
encrypt()
public
encrypt(string $message) : string
Parameters
-
$message
: string
-
-
throws
-
Exception