HMAC.php File Reference
Go to the source code of this file.
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.
 
 
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           | 
           )  | 
           |