]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost341194.pyi
Add some missing typestubs
[pygost.git] / pygost / stubs / pygost / gost341194.pyi
index d16cb517113f9aeb4ed1e8819d898df8fb881446..87492c8642c59ba2d96f8d8783bcc9b8a4a76b9a 100644 (file)
@@ -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
@@ -11,3 +17,9 @@ class GOST341194:
     def digest(self) -> bytes: ...
 
     def hexdigest(self) -> str: ...
+
+
+def new(data: bytes=..., sbox: str=...) -> GOST341194: ...
+
+
+def pbkdf2(password: bytes, salt: bytes, iterations: int, dklen: int) -> bytes: ...