aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps/Cryptodome/Hash/MD4.pyi
blob: a9a729539ae09303545dc10f83ff0b5a789b791c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from typing import Union, Optional

Buffer = Union[bytes, bytearray, memoryview]

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

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

def new(data: Optional[Buffer] = ...) -> MD4Hash: ...
digest_size: int
block_size: int