This commit is contained in:
zlwu committed 2026-05-12 16:35:07 +08:00
1 parent d336fd0226
commit 2e9d020d50
3454 files changed
+878963 -319

No files matched your search

@@ -0,0 +1,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: ...