Class EncryptUtil
Standalone encryption utilities class that can retrieve necessary encryption key/encoding from files.
Package: application\components\util
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/components/util/EncryptUtil.php
Author: Demitri Morgan <demitri@x2engine.com>
Located at x2engine/protected/components/util/EncryptUtil.php
public static
|
|
public static
string|boolean
|
|
public static
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
type
|
|
public static
|
#
secureUniqueIdHash64( mixed $method = null, mixed $hash = null )
Securely generates a random string of 64 characters (hex digits). |
public static
array
|
$generatedValues | array('IV','key') |
|
public
boolean
|
$canEncrypt |
|
#
Whether all the necessary dependencies are installed to use encryption. |
public
type
|
$IVFile |
|
#
File for storing IV length (for encoding purposes) |
public
string
|
$keyFile |
|
#
A file for storing an encryption key |