blob: 561e946cdbfdd11c14a15a2bae7475e1624e60b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
from typing import Union
from typing_extensions import TypedDict, Unpack, NotRequired
from .TurboSHAKE128 import TurboSHAKE
Buffer = Union[bytes, bytearray, memoryview]
class Args(TypedDict):
domain: NotRequired[int]
data: NotRequired[Buffer]
def new(**kwargs: Unpack[Args]) -> TurboSHAKE: ...
|