massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / Crypto / Cipher / blockalgo.pyi
1 from typing import Any, Union, Text\r
2 \r
3 MODE_ECB = ...  # type: int\r
4 MODE_CBC = ...  # type: int\r
5 MODE_CFB = ...  # type: int\r
6 MODE_PGP = ...  # type: int\r
7 MODE_OFB = ...  # type: int\r
8 MODE_CTR = ...  # type: int\r
9 MODE_OPENPGP = ...  # type: int\r
10 \r
11 class BlockAlgo:\r
12     mode = ...  # type: int\r
13     block_size = ...  # type: int\r
14     IV = ...  # type: Any\r
15     def __init__(self, factory: Any, key: Union[bytes, Text], *args, **kwargs) -> None: ...\r
16     def encrypt(self, plaintext: Union[bytes, Text]) -> bytes: ...\r
17     def decrypt(self, ciphertext: bytes) -> bytes: ...\r