Crypt.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Crypt  
Version
$Id$  

\Zend_Crypt

Package: Zend_Crypt
Children
\Zend_Crypt_Hmac
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstant  TYPE_OPENSSL = 'openssl'
>VConstant  TYPE_HASH = 'hash'
>VConstant  TYPE_MHASH = 'mhash'

Properties

>VPropertyprotectedarray $_supportedAlgosMhash = array('adler32', 'crc32', 'crc32b', 'gost', 'haval128', 'haval160', 'haval192', 'haval256', 'md4', 'md5', 'ripemd160', 'sha1', 'sha256', 'tiger', 'tiger128', 'tiger160')
static
Default valuearray('adler32', 'crc32', 'crc32b', 'gost', 'haval128', 'haval160', 'haval192', 'haval256', 'md4', 'md5', 'ripemd160', 'sha1', 'sha256', 'tiger', 'tiger128', 'tiger160')Details
Type
array
>VPropertyprotectedarray $_supportedAlgosOpenssl = array('md2', 'md4', 'mdc2', 'rmd160', 'sha', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')
static
Default valuearray('md2', 'md4', 'mdc2', 'rmd160', 'sha', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')Details
Type
array
>VPropertyprotected$_type = null
static
Default valuenullDetails
Type
n/a

Methods

methodprotected_detectHashSupport(string $algorithm) : void
static

Parameters
NameTypeDescription
$algorithmstring
Throws
ExceptionDescription
\Zend_Crypt_Exception
methodprotected_digestHash(string $algorithm, string $data, bool $binaryOutput) : string
static

Parameters
NameTypeDescription
$algorithmstring
$datastring
$binaryOutputbool
Returns
TypeDescription
string
methodprotected_digestMhash(string $algorithm, string $data, bool $binaryOutput) : string
static

Parameters
NameTypeDescription
$algorithmstring
$datastring
$binaryOutputbool
Returns
TypeDescription
string
methodprotected_digestOpenssl(string $algorithm, string $data, bool $binaryOutput) : string
static

Parameters
NameTypeDescription
$algorithmstring
$datastring
$binaryOutputbool
Returns
TypeDescription
string
methodpublichash(string $algorithm, string $data, bool $binaryOutput = false) : \unknown
static

Parameters
NameTypeDescription
$algorithmstring
$datastring
$binaryOutputbool
Returns
TypeDescription
\unknown
Documentation was generated by phpDocumentor 2.2.0 .