Static Public Member Functions |
static | hash ($algorithm, $data, $binaryOutput=false) |
Data Fields |
const | TYPE_OPENSSL = 'openssl' |
const | TYPE_HASH = 'hash' |
const | TYPE_MHASH = 'mhash' |
Static Protected Member Functions |
static | _detectHashSupport ($algorithm) |
static | _digestHash ($algorithm, $data, $binaryOutput) |
static | _digestMhash ($algorithm, $data, $binaryOutput) |
static | _digestOpenssl ($algorithm, $data, $binaryOutput) |
Static Protected Attributes |
static | $_type = null |
static | $_supportedAlgosOpenssl |
static | $_supportedAlgosMhash |
Detailed Description
Definition at line 28 of file Crypt.php.
Member Function Documentation
static _detectHashSupport |
( |
$ |
algorithm ) |
[static, protected] |
static _digestHash |
( |
$ |
algorithm, |
|
|
$ |
data, |
|
|
$ |
binaryOutput |
|
) |
| [static, protected] |
- Parameters:
-
string | $algorithm | |
string | $data | |
bool | $binaryOutput | |
- Returns:
- string
Definition at line 132 of file Crypt.php.
static _digestMhash |
( |
$ |
algorithm, |
|
|
$ |
data, |
|
|
$ |
binaryOutput |
|
) |
| [static, protected] |
- Parameters:
-
string | $algorithm | |
string | $data | |
bool | $binaryOutput | |
- Returns:
- string
Definition at line 143 of file Crypt.php.
static _digestOpenssl |
( |
$ |
algorithm, |
|
|
$ |
data, |
|
|
$ |
binaryOutput |
|
) |
| [static, protected] |
- Parameters:
-
string | $algorithm | |
string | $data | |
bool | $binaryOutput | |
- Returns:
- string
Definition at line 159 of file Crypt.php.
static hash |
( |
$ |
algorithm, |
|
|
$ |
data, |
|
|
$ |
binaryOutput = false |
|
) |
| [static] |
- Parameters:
-
string | $algorithm | |
string | $data | |
bool | $binaryOutput | |
- Returns:
- unknown
Definition at line 81 of file Crypt.php.
Field Documentation
$_supportedAlgosMhash [static, protected] |
Initial value: array(
'adler32',
'crc32',
'crc32b',
'gost',
'haval128',
'haval160',
'haval192',
'haval256',
'md4',
'md5',
'ripemd160',
'sha1',
'sha256',
'tiger',
'tiger128',
'tiger160'
)
Definition at line 56 of file Crypt.php.
$_supportedAlgosOpenssl [static, protected] |
Initial value: array(
'md2',
'md4',
'mdc2',
'rmd160',
'sha',
'sha1',
'sha224',
'sha256',
'sha384',
'sha512'
)
Definition at line 40 of file Crypt.php.
The documentation for this class was generated from the following file:
- E:/E/GEAMP/www/openbiz/openbiz/others/Zend/Crypt.php