massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / Crypto / Cipher / XOR.pyi
1 from typing import Any, Union, Text\r
2 \r
3 __revision__ = ...  # type: str\r
4 \r
5 class XORCipher:\r
6     block_size = ...  # type: int\r
7     key_size = ...  # type: int\r
8     def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ...\r
9     def encrypt(self, plaintext: Union[bytes, Text]) -> bytes: ...\r
10     def decrypt(self, ciphertext: bytes) -> bytes: ...\r
11 \r
12 \r
13 def new(key: Union[bytes, Text], *args, **kwargs) -> XORCipher: ...\r
14 \r
15 block_size = ...  # type: int\r
16 key_size = ...  # type: int\r