]> Cypherpunks.ru repositories - pygost.git/blob - pygost/stubs/pygost/gost34112012512.pyi
Missing 34.11-2012 PBKDF2 typing stub
[pygost.git] / pygost / stubs / pygost / gost34112012512.pyi
1 from pygost.iface import PEP247
2
3
4 class GOST34112012512(PEP247):
5     def __init__(self, data: bytes=...) -> None: ...
6
7     @property
8     def digest_size(self) -> int: ...
9
10     def copy(self) -> "GOST34112012512": ...
11
12     def update(self, data: bytes) -> None: ...
13
14     def digest(self) -> bytes: ...
15
16     def hexdigest(self) -> str: ...
17
18
19 def new(data: bytes=...) -> GOST34112012512: ...
20
21 def pbkdf2(password: bytes, salt: bytes, iterations: int, dklen: int) -> bytes: ...