aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps/Cryptodome/Hash/cSHAKE128.pyi
blob: 1452feafb1446c7272ba7850b7de73c91133568a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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: ...