Documentation

cryptHelper

Crypt helper trait

Tags
author

Stefan Seehafer sea75300@yahoo.de

copyright

(c) 2023, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

since
5.1.1

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
Return values
crypt

Search results