]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost34112012512.pyi
PEP8 typing stubs
[pygost.git] / pygost / stubs / pygost / gost34112012512.pyi
index 163fe7a559a960130512a900cb9f1290f431ea06..349bddd29055926d34baf575675fba2d31db7d01 100644 (file)
@@ -1,5 +1,10 @@
-class GOST34112012512:
-    def __init__(self, data: bytes=...) -> None: ...
+from pygost.iface import PEP247
+
+
+class GOST34112012512(PEP247):
+    block_size = ...  # type: int
+
+    def __init__(self, data: bytes = ...) -> None: ...
 
     @property
     def digest_size(self) -> int: ...
@@ -11,3 +16,9 @@ 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: ...