How to calculate a Base64 encoded HMAC-SHA1 in PHP for OAuth
• Kellan
HMAC-SHA1 is the suggested default signing algorithm for OAuth 1.0 Core. This is a code snippet showing how to calculate a valid OAuth HMAC-SHA1 signature using PHP4 without any PEAR dependencies.