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