1 from typing import Any, Union, Text
\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
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