TYPO3 API  SVNRelease
Namespaces | Enumerations | Functions
HMAC.php File Reference

Go to the source code of this file.

Namespaces

namespace  OpenID

Enumerations

enum  Auth_OpenID_SHA1_BLOCKSIZE

Functions

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

Enumeration Type Documentation

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$keyThe HMAC key
string$textThe message text to hash
Returns:
string $mac The MAC

Definition at line 57 of file HMAC.php.

References Auth_OpenID_SHA1(), and Auth_OpenID\bytes().

Auth_OpenID_SHA1 ( text)