]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost34112012512.pyi
Add some missing typestubs
[pygost.git] / pygost / stubs / pygost / gost34112012512.pyi
index 163fe7a559a960130512a900cb9f1290f431ea06..0a3d7b33c4348dd4e85f9381ff02a778e047302f 100644 (file)
@@ -1,4 +1,9 @@
-class GOST34112012512:
+from pygost.iface import PEP247
+
+
+class GOST34112012512(PEP247):
+    block_size = ...  # type: int
+
     def __init__(self, data: bytes=...) -> None: ...
 
     @property
@@ -11,3 +16,8 @@ class GOST34112012512:
     def digest(self) -> bytes: ...
 
     def hexdigest(self) -> str: ...
+
+
+def new(data: bytes=...) -> GOST34112012512: ...
+
+def pbkdf2(password: bytes, salt: bytes, iterations: int, dklen: int) -> bytes: ...