mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
28 lines
727 B
Python
28 lines
727 B
Python
# Stubs for hmac (Python 3.5)
|
|
#
|
|
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
|
|
from typing import Any
|
|
from _operator import _compare_digest as compare_digest
|
|
|
|
trans_5C = ... # type: Any
|
|
trans_36 = ... # type: Any
|
|
digest_size = ... # type: Any
|
|
|
|
class HMAC:
|
|
blocksize = ... # type: Any
|
|
digest_cons = ... # type: Any
|
|
outer = ... # type: Any
|
|
inner = ... # type: Any
|
|
digest_size = ... # type: Any
|
|
block_size = ... # type: Any
|
|
def __init__(self, key, msg=None, digestmod=None): ...
|
|
@property
|
|
def name(self): ...
|
|
def update(self, msg): ...
|
|
def copy(self): ...
|
|
def digest(self): ...
|
|
def hexdigest(self): ...
|
|
|
|
def new(key, msg=None, digestmod=None): ...
|