HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //opt/imunify360/venv/lib/python3.11/site-packages/Crypto/Hash/TupleHash128.pyi
from typing import Any, Union
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: ...