# Stubs for hmac (Python 2) from typing import Any class HMAC: def update(self, msg: str) -> None: ... def digest(self) -> str: ... def hexdigest(self) -> str: ... def copy(self) -> HMAC: ... def new(key: str, msg: str = ..., digestmod: Any = ...) -> HMAC: ...