Documentation

Encrypt

Table of Contents

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

Methods

decrypt()

Decrypt the message.

public static decrypt((mixed) $token[, mixed $adapter = null ]) : mixed
Parameters
$token : (mixed)

encrypted token

$adapter : mixed = null
Tags
since
1.0.0
Return values
mixed

encrypt()

Encrypt the message.

public static encrypt((mixed) $data[, mixed $adapter = null ]) : mixed
Parameters
$data : (mixed)

data to be encrypted

$adapter : mixed = null
Tags
since
1.0.0
Return values
mixed

setAdapter()

Set the adapter.

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

Search results