aboutsummaryrefslogblamecommitdiff
path: root/frozen_deps/Cryptodome/Hash/MD5.pyi
blob: d8195562acc22414490a522bed108e698279b87a (plain) (tree)


















                                                       
from typing import Union

Buffer = Union[bytes, bytearray, memoryview]

class MD5Hash(object):
    digest_size: int
    block_size: int
    oid: str

    def __init__(self, data: Buffer = ...) -> None: ...
    def update(self, data: Buffer) -> None: ...
    def digest(self) -> bytes: ...
    def hexdigest(self) -> str: ...
    def copy(self) -> MD5Hash: ...
    def new(self, data: Buffer = ...) -> MD5Hash: ...

def new(data: Buffer = ...) -> MD5Hash: ...
digest_size: int
block_size: int