Call the digest() method on a HMAC object obtained by hmac_new().
(self, key, msg=None, digestmod=DIGESTMOD_SENTINEL)
| 144 | return _call_newobj_func(self.hmac.HMAC, key, msg, digestmod) |
| 145 | |
| 146 | def hmac_digest(self, key, msg=None, digestmod=DIGESTMOD_SENTINEL): |
| 147 | """Call the digest() method on a HMAC object obtained by hmac_new().""" |
| 148 | return _call_newobj_func(self.hmac_new, key, msg, digestmod).digest() |
| 149 | |
| 150 | |
| 151 | class ThroughModuleAPIMixin(ModuleMixin, CreatorMixin, DigestMixin): |
nothing calls this directly
no test coverage detected