--- /dev/null
+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