Calculating the HMAC-SHA Signature for Amazon SWF