TYPO3 CMS
TYPO3_6-2
|
Go to the source code of this file.
Namespaces | |
OpenID | |
Functions | |
Auth_OpenID_SHA1 ($text) | |
Auth_OpenID_HMACSHA1 ($key, $text) | |
Variables | |
const | Auth_OpenID_SHA1_BLOCKSIZE 64 |
if(function_exists('hash') &&function_exists('hash_algos') &&(in_array('sha256', hash_algos()))) | else |
Auth_OpenID_HMACSHA1 | ( | $key, | |
$text | |||
) |
Compute an HMAC/SHA1 hash.
private
string | $key | The HMAC key |
string | $text | The message text to hash |
Definition at line 57 of file HMAC.php.
References Auth_OpenID_SHA1(), Auth_OpenID_SHA1_BLOCKSIZE, and Auth_OpenID\bytes().
Auth_OpenID_SHA1 | ( | $text | ) |
Definition at line 25 of file HMAC.php.
References E_USER_ERROR.
Referenced by Auth_OpenID_FileStore\_safe64(), Auth_OpenID_DumbStore\Auth_OpenID_DumbStore(), and Auth_OpenID_HMACSHA1().
const Auth_OpenID_SHA1_BLOCKSIZE 64 |
SHA1_BLOCKSIZE is this module's SHA1 blocksize used by the fallback implementation.
Definition at line 23 of file HMAC.php.
Referenced by Auth_OpenID_HMACSHA1().