]> Cypherpunks.ru repositories - pygost.git/blob - pygost/stubs/pygost/gost28147_mac.pyi
2.3 release is ready
[pygost.git] / pygost / stubs / pygost / gost28147_mac.pyi
1 class MAC:
2     def __init__(
3         self,
4         key: bytes,
5         data: bytes=...,
6         iv: bytes=...,
7         sbox: str=...,
8     ) -> None: ...
9
10     @property
11     def digest_size(self) -> int: ...
12
13     def copy(self) -> "MAC": ...
14
15     def update(self, data: bytes) -> None: ...
16
17     def digest(self) -> bytes: ...
18
19     def hexdigest(self) -> str: ...