cSHAKE128.pyi 513 B

123456789101112131415
  1. from typing import Union, Optional
  2. Buffer = Union[bytes, bytearray, memoryview]
  3. class cSHAKE_XOF(object):
  4. def __init__(self,
  5. data: Optional[Buffer] = ...,
  6. function: Optional[bytes] = ...,
  7. custom: Optional[bytes] = ...) -> None: ...
  8. def update(self, data: Buffer) -> cSHAKE_XOF: ...
  9. def read(self, length: int) -> bytes: ...
  10. def new(data: Optional[Buffer] = ...,
  11. custom: Optional[Buffer] = ...) -> cSHAKE_XOF: ...