]> Cypherpunks.ru repositories - pygost.git/blob - pygost/stubs/pygost/gost3412.pyi
CTR-ACPKM, OMAC-ACPKM-Master modes of operation
[pygost.git] / pygost / stubs / pygost / gost3412.pyi
1 class GOST3412Kuznechik(object):
2     blocksize = ...  # type: int
3
4     def __init__(self, key: bytes) -> None: ...
5
6     def encrypt(self, blk: bytes) -> bytes: ...
7
8     def decrypt(self, blk: bytes) -> bytes: ...
9
10
11 class GOST3412Magma(object):
12     blocksize = ...  # type: int
13
14     def __init__(self, key: bytes) -> None: ...
15
16     def encrypt(self, blk: bytes) -> bytes: ...
17
18     def decrypt(self, blk: bytes) -> bytes: ...