massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / Crypto / Cipher / blockalgo.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/Crypto/Cipher/blockalgo.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/Crypto/Cipher/blockalgo.pyi
new file mode 100644 (file)
index 0000000..f71392b
--- /dev/null
@@ -0,0 +1,17 @@
+from typing import Any, Union, Text\r
+\r
+MODE_ECB = ...  # type: int\r
+MODE_CBC = ...  # type: int\r
+MODE_CFB = ...  # type: int\r
+MODE_PGP = ...  # type: int\r
+MODE_OFB = ...  # type: int\r
+MODE_CTR = ...  # type: int\r
+MODE_OPENPGP = ...  # type: int\r
+\r
+class BlockAlgo:\r
+    mode = ...  # type: int\r
+    block_size = ...  # type: int\r
+    IV = ...  # type: Any\r
+    def __init__(self, factory: Any, key: Union[bytes, Text], *args, **kwargs) -> None: ...\r
+    def encrypt(self, plaintext: Union[bytes, Text]) -> bytes: ...\r
+    def decrypt(self, ciphertext: bytes) -> bytes: ...\r