Documentation

Encryption

Table of Contents

__construct()  : mixed
__construct.
decrypt()  : mixed
Decrypt the message.
encrypt()  : mixed
Encrypt the message.
setAdapter()  : object
Set the adapter.

Methods

__construct()

__construct.

public __construct([mixed $adaoter = null ]) : mixed
Parameters
$adaoter : mixed = null
Tags
since
1.0.0
Return values
mixed

decrypt()

Decrypt the message.

public decrypt((mixed) $token) : mixed
Parameters
$token : (mixed)

encrypted token

Tags
since
1.0.0
Return values
mixed

encrypt()

Encrypt the message.

public encrypt((mixed) $data) : mixed
Parameters
$data : (mixed)

data to be encrypted

Tags
since
1.0.0
Return values
mixed

setAdapter()

Set the adapter.

public setAdapter((string) $adapter) : object
Parameters
$adapter : (string)
Tags
since
1.0.0
Return values
object

Search results