API Documentation

Crypt.php

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-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Crypt  
version
$Id: Crypt.php 23953 2011-05-03 05:47:39Z ralph $  

\Zend_Crypt

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Crypt  

Constants

Constant  TYPE_OPENSSL = 'openssl'
Constant  TYPE_HASH = 'hash'
Constant  TYPE_MHASH = 'mhash'

Properties

Propertyprotectedarray  $_supportedAlgosMhash= 'array'
static

Default valuearrayDetails
Type
array
Propertyprotectedarray  $_supportedAlgosOpenssl= 'array'
static

Default valuearrayDetails
Type
array
Propertyprotected  $_type= 'null'
static
Default valuenullDetails
Type

Methods

methodprotected_detectHashSupport( string $algorithm ) : void
static

Parameters
Name Type Description
$algorithm string
Throws
Exception Description
\Zend_Crypt_Exception
methodprotected_digestHash( string $algorithm, string $data, bool $binaryOutput ) : string
static

Parameters
Name Type Description
$algorithm string
$data string
$binaryOutput bool
Returns
Type Description
string
methodprotected_digestMhash( string $algorithm, string $data, bool $binaryOutput ) : string
static

Parameters
Name Type Description
$algorithm string
$data string
$binaryOutput bool
Returns
Type Description
string
methodprotected_digestOpenssl( string $algorithm, string $data, bool $binaryOutput ) : string
static

Parameters
Name Type Description
$algorithm string
$data string
$binaryOutput bool
Returns
Type Description
string
methodpublichash( string $algorithm, string $data, bool $binaryOutput = false ) : \unknown
static

Parameters
Name Type Description
$algorithm string
$data string
$binaryOutput bool
Returns
Type Description
\unknown
Documentation was generated by DocBlox 0.13.3.