ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Go to the source code of this file.
Namespaces | |
namespace | OpenID |
This is the PHP OpenID library by JanRain, Inc. | |
Functions | |
Auth_OpenID_SHA1 ($text) | |
Auth_OpenID_HMACSHA1 ($key, $text) | |
Compute an HMAC/SHA1 hash. More... | |
Variables | |
const | Auth_OpenID_SHA1_BLOCKSIZE 64 |
SHA1_BLOCKSIZE is this module's SHA1 blocksize used by the fallback implementation. More... | |
if(function_exists('hash') &&function_exists('hash_algos') &&(in_array('sha256', hash_algos()))) | else |
Auth_OpenID_HMACSHA1 | ( | $key, | |
$text | |||
) |
Compute an HMAC/SHA1 hash.
@access private
string | $key | The HMAC key |
string | $text | The message text to hash |
Definition at line 57 of file HMAC.php.
References $text, Auth_OpenID_SHA1(), Auth_OpenID_SHA1_BLOCKSIZE, and Auth_OpenID\bytes().
Auth_OpenID_SHA1 | ( | $text | ) |
Definition at line 25 of file HMAC.php.
References $text.
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().