| 1 | from typing import Any, Union, List, Tuple |
| 2 | from types import ModuleType |
| 3 | |
| 4 | Buffer = Union[bytes, bytearray, memoryview] |
| 5 | |
| 6 | class TupleHash(object): |
| 7 | digest_size: int |
| 8 | def __init__(self, |
| 9 | custom: bytes, |
| 10 | cshake: ModuleType, |
| 11 | digest_size: int) -> None: ... |
| 12 | def update(self, *data: Buffer) -> TupleHash: ... |
| 13 | def digest(self) -> bytes: ... |
| 14 | def hexdigest(self) -> str: ... |
| 15 | def new(self, |
| 16 | digest_bytes: int = ..., |
| 17 | digest_bits: int = ..., |
| 18 | custom: int = ...) -> TupleHash: ... |
| 19 | |
| 20 | def new(digest_bytes: int = ..., |
| 21 | digest_bits: int = ..., |
| 22 | custom: int = ...) -> TupleHash: ... |