static vmCrypt::_checkCreateKeyFile |
( |
|
$date | ) |
|
|
staticprivate |
static vmCrypt::_createKeyFile |
( |
|
$keyPath, |
|
|
|
$size = 32 |
|
) |
| |
|
staticprivate |
static vmCrypt::_getKey |
( |
|
$date = 0 | ) |
|
|
staticprivate |
static vmCrypt::createEncryptFolder |
( |
|
$folderName | ) |
|
|
staticprivate |
static vmCrypt::crypto_rand_secure |
( |
|
$r | ) |
|
|
static |
Returns random bytes of the desired length The function with "CAPICOM" is not tested and there for other who may need and fix it.
- Author
- Max Milbers
- Parameters
-
- Returns
- string
static vmCrypt::crypto_rand_secure_cover |
( |
|
$range | ) |
|
|
static |
static vmCrypt::decrypt |
( |
|
$string, |
|
|
|
$date = 0 |
|
) |
| |
|
static |
static vmCrypt::encrypt |
( |
|
$string | ) |
|
|
static |
static vmCrypt::getEncryptSafepath |
( |
| ) |
|
|
static |
static vmCrypt::getFilteredBytes |
( |
|
$size = 32 , |
|
|
|
$filter = '"' |
|
) |
| |
|
static |
static vmCrypt::getHumanToken |
( |
|
$length | ) |
|
|
static |
Creates a token for inputs by human, some chars are removed to reduce mistyping, All chars are upper case, 0 and O are omitted
- Author
- Max Milbers
- Parameters
-
- Returns
- string
static vmCrypt::getToken |
( |
|
$length = 24 , |
|
|
|
$pool = false |
|
) |
| |
|
static |
Creates a token
- Author
- Max Milbers
- Parameters
-
$length | Only keys of sizes 16, 24 or 32 are supported |
$pool | pool to chose from |
- Returns
- string
const vmCrypt::ENCRYPT_SAFEPATH ="keys" |
The documentation for this class was generated from the following file:
- administrator/components/com_virtuemart/helpers/vmcrypt.php