HMAC.php File Reference

Go to the source code of this file.

Enumerations

enum  Auth_OpenID_SHA1_BLOCKSIZE
enum  Auth_OpenID_SHA256_SUPPORTED

Functions

 Auth_OpenID_SHA1 ($text)
 Auth_OpenID_HMACSHA1 ($key, $text)


Enumeration Type Documentation

This is the HMACSHA1 implementation for the OpenID library.

PHP versions 4 and 5

LICENSE: See the COPYING file included in this distribution.

private

Author:
JanRain, Inc. <[email protected]> 2005-2008 Janrain, Inc. http://www.apache.org/licenses/LICENSE-2.0 Apache SHA1_BLOCKSIZE is this module's SHA1 blocksize used by the fallback implementation.

Definition at line 23 of file HMAC.php.

Definition at line 79 of file HMAC.php.


Function Documentation

Auth_OpenID_HMACSHA1 ( key,
text 
)

Compute an HMAC/SHA1 hash.

private

Parameters:
string $key The HMAC key
string $text The message text to hash
Returns:
string $mac The MAC

Definition at line 57 of file HMAC.php.

Auth_OpenID_SHA1 ( text  ) 

Definition at line 25 of file HMAC.php.


Generated on Thu Feb 19 15:02:23 2009 for OXID eShop CE by  doxygen 1.5.5