| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
Zend Framework LICENSE
| Copyright: | Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
| License: | http://framework.zend.com/license/new-bsd New BSD License |
| Version: | $Id: Hmac.php 24593 2012-01-05 20:35:02Z matthew $ |
| File Size: | 181 lines (6 kb) |
| Included or required: | 1 time |
| Referenced: | 0 times |
| Includes or requires: | 2 files include/Zend/Crypt.php include/Zend/Crypt/Hmac/Exception.php |
Zend_Crypt_Hmac:: (4 methods):
compute()
_setHashAlgorithm()
_hash()
_getMhashDefinition()
Class: Zend_Crypt_Hmac - X-Ref
PHP implementation of the RFC 2104 Hash based Message Authentication Code| compute($key, $hash, $data, $output = self::STRING) X-Ref |
| Performs a HMAC computation given relevant details such as Key, Hashing algorithm, the data to compute MAC of, and an output format of String, Binary notation or BTWOC. param: string $key param: string $hash param: string $data param: string $output param: boolean $internal return: string |
| _setHashAlgorithm($hash) X-Ref |
| Setter for the hash method. param: string $hash return: Zend_Crypt_Hmac |
| _hash($data, $output = self::STRING, $internal = false) X-Ref |
| Perform HMAC and return the keyed data param: string $data param: string $output param: bool $internal Option to not use hash() functions for testing return: string |
| _getMhashDefinition($hashAlgorithm) X-Ref |
| Since MHASH accepts an integer constant representing the hash algorithm we need to make a small detour to get the correct integer matching our algorithm's name. param: string $hashAlgorithm return: integer |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |