cryptHelper
Crypt helper trait
Tags
Table of Contents
- $doCrypt : bool
- Do encryption
- decrypt() : string
- Decrypts data
- encrypt() : string
- Encrypts data
- getCryptInstance() : crypt
- Returns \fpcm\classes\crypt class instance
Properties
$doCrypt
Do encryption
private
bool
$doCrypt
= false
Methods
decrypt()
Decrypts data
protected
decrypt(mixed $param) : string
Parameters
- $param : mixed
Return values
string —encrypt()
Encrypts data
protected
encrypt(mixed $param) : string
Parameters
- $param : mixed
Return values
string —getCryptInstance()
Returns \fpcm\classes\crypt class instance
private
getCryptInstance() : crypt