mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
12 lines
282 B
Python
12 lines
282 B
Python
# 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 = None, digestmod: Any = None) -> HMAC: ...
|