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