aboutsummaryrefslogtreecommitdiff
path: root/frozen_deps/Cryptodome/Hash/SHAKE256.pyi
blob: 029347af3be0d35b393fbd96195022b1eb080849 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
from typing import Union, Optional

Buffer = Union[bytes, bytearray, memoryview]

class SHAKE256_XOF(object):
    oid: str
    def __init__(self,
                 data: Optional[Buffer] = ...) -> None: ...
    def update(self, data: Buffer) -> SHAKE256_XOF: ...
    def read(self, length: int) -> bytes: ...
    def new(self, data: Optional[Buffer] = ...) -> SHAKE256_XOF: ...

def new(data: Optional[Buffer] = ...) -> SHAKE256_XOF: ...