You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
499 B

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: ...