plugin.audio.librespot/resources/lib/deps/Cryptodome/Hash/cSHAKE128.pyi

15 lines
499 B
Python
Raw Normal View History

2024-02-21 06:17:59 +00:00
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: ...