]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost28147_mac.pyi
Missing gost28147_mac.new typing stub
[pygost.git] / pygost / stubs / pygost / gost28147_mac.pyi
index 2ba4341ccf84b272cb96b5447ac3fb76ee4f8738..4386f376af7414a7414e4e2c3181cca71e7e0205 100644 (file)
@@ -20,3 +20,6 @@ class MAC(PEP247):
     def digest(self) -> bytes: ...
 
     def hexdigest(self) -> str: ...
+
+
+def new(key: bytes, data: bytes=..., iv: bytes=..., sbox: str=...) -> MAC: ...