Crypto.*.HMAC: HMAC now follows the Crypto.MAC API. The main change is that Crypto.*.HMAC now is a module object and not just a class. This means that the return type of eg Crypto.SHA1.HMAC() now is a Crypto.SHA1.HMAC.State (or weaker a Crypto.MAC.State), rather than a plain Crypto.SHA1.HMAC.