We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

The hmac Module

(New in 2.2) Calculate HMAC signatures (Keyed-Hashing for Message Authentication, RFC 2104)

import hmac
h = hmac.new(key, text)
h.update(moretext)
print h.hexdigest()