Mental Space

Krypton
in package

Table of Contents

Properties

$method  : mixed
$key  : mixed

Methods

__construct()  : mixed
Krypton constructor.
decrypt()  : bool|false|string
encrypt()  : string
iv_bytes()  : mixed

Properties

$method

protected mixed $method = 'AES-128-CTR'

Methods

__construct()

Krypton constructor.

public __construct([bool $key = false ][, bool $method = false ]) : mixed
Parameters
$key : bool = false

Encryption Key

$method : bool = false

Encryption Method

decrypt()

public decrypt(string $data) : bool|false|string
Parameters
$data : string
Return values
bool|false|string

encrypt()

public encrypt(string $data) : string
Parameters
$data : string
Return values
string

iv_bytes()

protected iv_bytes() : mixed

        
On this page

Search results