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