X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pygost%2Fstubs%2Fpygost%2Fgost341194.pyi;h=87492c8642c59ba2d96f8d8783bcc9b8a4a76b9a;hb=a4feac693ca17afba5d495f0eaa205e2ae7f4d0e;hp=18e04d4c4759f53a611fa2b6273ff7945f964796;hpb=83256651e8a0b24124834b29df9d2e826be7450f;p=pygost.git diff --git a/pygost/stubs/pygost/gost341194.pyi b/pygost/stubs/pygost/gost341194.pyi index 18e04d4..87492c8 100644 --- a/pygost/stubs/pygost/gost341194.pyi +++ b/pygost/stubs/pygost/gost341194.pyi @@ -1,4 +1,10 @@ -class GOST341194: +from pygost.iface import PEP247 + + +class GOST341194(PEP247): + sbox = ... # type: str + block_size = ... # type: int + def __init__(self, data: bytes=..., sbox: str=...) -> None: ... @property @@ -14,3 +20,6 @@ class GOST341194: def new(data: bytes=..., sbox: str=...) -> GOST341194: ... + + +def pbkdf2(password: bytes, salt: bytes, iterations: int, dklen: int) -> bytes: ...