mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Add hmac (#402)
This commit is contained in:
committed by
Guido van Rossum
parent
cc735b1176
commit
cd413c502c
@@ -1,13 +0,0 @@
|
||||
# Stubs for hmac (Python 2)
|
||||
|
||||
from typing import Any, AnyStr
|
||||
|
||||
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: ...
|
||||
|
||||
def compare_digest(a: AnyStr, b: AnyStr) -> bool: ...
|
||||
Reference in New Issue
Block a user