This commit is contained in:
“shengyudong”
2026-01-06 14:18:39 +08:00
commit 5a384b694e
10345 changed files with 2050918 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
from typing import Union, Optional
Buffer = Union[bytes, bytearray, memoryview]
class cSHAKE_XOF(object):
def __init__(self,
data: Optional[Buffer] = ...,
function: Optional[bytes] = ...,
custom: Optional[bytes] = ...) -> None: ...
def update(self, data: Buffer) -> cSHAKE_XOF: ...
def read(self, length: int) -> bytes: ...
def new(data: Optional[Buffer] = ...,
custom: Optional[Buffer] = ...) -> cSHAKE_XOF: ...