Class Zend_Crypt

Description
  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Crypt.php (line 28)


	
			
Direct descendents
Class Description
 class Zend_Crypt_Hmac PHP implementation of the RFC 2104 Hash based Message Authentication Code algorithm.
Class Constant Summary
 TYPE_HASH = 'hash'
 TYPE_MHASH = 'mhash'
 TYPE_OPENSSL = 'openssl'
Variable Summary
 static array $_supportedAlgosMhash
 static mixed $_type
Method Summary
 static unknown hash (string $algorithm, string $data, [bool $binaryOutput = false])
 static void _detectHashSupport (string $algorithm)
 static string _digestHash (string $algorithm, string $data, bool $binaryOutput)
 static string _digestMhash (string $algorithm, string $data, bool $binaryOutput)
 static string _digestOpenssl (string $algorithm, string $data, bool $binaryOutput)
Variables
static array $_supportedAlgosMhash = array(
'adler32',
'crc32',
'crc32b',
'gost',
'haval128',
'haval160',
'haval192',
'haval256',
'md4',
'md5',
'ripemd160',
'sha1',
'sha256',
'tiger',
'tiger128',
'tiger160'
)
(line 56)
  • access: protected
static array $_supportedAlgosOpenssl = array(
'md2',
'md4',
'mdc2',
'rmd160',
'sha',
'sha1',
'sha224',
'sha256',
'sha384',
'sha512'
)
(line 40)
  • access: protected
static mixed $_type = null (line 35)
  • access: protected
Methods
static hash (line 81)
  • access: public
static unknown hash (string $algorithm, string $data, [bool $binaryOutput = false])
  • string $algorithm
  • string $data
  • bool $binaryOutput
static _detectHashSupport (line 96)
  • throws: Zend_Crypt_Exception
  • access: protected
static void _detectHashSupport (string $algorithm)
  • string $algorithm
static _digestHash (line 132)
  • access: protected
static string _digestHash (string $algorithm, string $data, bool $binaryOutput)
  • string $algorithm
  • string $data
  • bool $binaryOutput
static _digestMhash (line 143)
  • access: protected
static string _digestMhash (string $algorithm, string $data, bool $binaryOutput)
  • string $algorithm
  • string $data
  • bool $binaryOutput
static _digestOpenssl (line 159)
  • access: protected
static string _digestOpenssl (string $algorithm, string $data, bool $binaryOutput)
  • string $algorithm
  • string $data
  • bool $binaryOutput
Class Constants
TYPE_HASH = 'hash' (line 32)
TYPE_MHASH = 'mhash' (line 33)
TYPE_OPENSSL = 'openssl' (line 31)

Documentation generated on Mon, 21 Jun 2010 15:14:53 -0400 by phpDocumentor 1.4.3