1 from typing import Any, Union, Text
\r
2 from .blockalgo import BlockAlgo
\r
4 __revision__ = ... # type: str
\r
6 class DESCipher(BlockAlgo):
\r
7 def __init__(self, key: Union[bytes, Text], *args, **kwargs) -> None: ...
\r
9 def new(key: Union[bytes, Text], *args, **kwargs) -> DESCipher: ...
\r
11 MODE_ECB = ... # type: int
\r
12 MODE_CBC = ... # type: int
\r
13 MODE_CFB = ... # type: int
\r
14 MODE_PGP = ... # type: int
\r
15 MODE_OFB = ... # type: int
\r
16 MODE_CTR = ... # type: int
\r
17 MODE_OPENPGP = ... # type: int
\r
18 block_size = ... # type: int
\r
19 key_size = ... # type: int
\r