Ubiquity\security\data$EncryptionManager This class is part of Ubiquity.
More...
Ubiquity\security\data$EncryptionManager This class is part of Ubiquity.
- Author
- jc
- Version
- 1.0.2
Definition at line 16 of file EncryptionManager.php.
◆ decrypt()
static decrypt |
( |
string |
$data, |
|
|
|
$unserialize = true |
|
) |
| |
|
static |
Decrypt the given data with possible unserialization.
- Parameters
-
string | $data | |
boolean | $unserialize | |
- Returns
- mixed|string
Definition at line 94 of file EncryptionManager.php.
◆ decryptString()
static decryptString |
( |
string |
$data | ) |
|
|
static |
◆ encrypt()
◆ generateKey()
◆ getEncryptionInstance()
static getEncryptionInstance |
( |
| ) |
|
|
static |
◆ getInstance()
◆ getKey()
◆ isStarted()
◆ start()
Start the manager and generate the encryption key.
Do not use in production
- Parameters
-
array | $config | |
| ?string | $cipher |
Definition at line 37 of file EncryptionManager.php.
◆ startProd()
static startProd |
( |
array |
$config, |
|
|
?string |
$cypher = null |
|
) |
| |
|
static |
Start the encryption manager for production.
- Parameters
-
array | $config | |
| ?string | $cypher |
Definition at line 59 of file EncryptionManager.php.
◆ $encryptionInstance
◆ ENCRYPTION_KEY_NAME
const ENCRYPTION_KEY_NAME = 'encryption_key' |
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity-security/src/Ubiquity/security/data/EncryptionManager.php