Lines Matching refs:text
25 function Auth_OpenID_SHA1($text) argument
32 return hash('sha1', $text, true);
35 $hex = sha1($text);
54 * @param string $text The message text to hash
57 function Auth_OpenID_HMACSHA1($key, $text) argument
66 return hash_hmac('sha1', $text, $key, true);
73 $hash1 = Auth_OpenID_SHA1(($key ^ $ipad) . $text, true);
81 function Auth_OpenID_SHA256($text) argument
84 return hash('sha256', $text, true);
95 function Auth_OpenID_HMACSHA256($key, $text) argument
98 return hash_hmac('sha256', $text, $key, true);