%PDF- %PDF-
Direktori : /opt/imunify360/venv/lib/python3.11/site-packages/Crypto/Cipher/ |
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/Crypto/Cipher/ARC2.pyi |
from typing import Union, Dict, Iterable, Optional, ByteString from Crypto.Cipher._mode_ecb import EcbMode from Crypto.Cipher._mode_cbc import CbcMode from Crypto.Cipher._mode_cfb import CfbMode from Crypto.Cipher._mode_ofb import OfbMode from Crypto.Cipher._mode_ctr import CtrMode from Crypto.Cipher._mode_openpgp import OpenPgpMode from Crypto.Cipher._mode_eax import EaxMode ARC2Mode = int MODE_ECB: ARC2Mode MODE_CBC: ARC2Mode MODE_CFB: ARC2Mode MODE_OFB: ARC2Mode MODE_CTR: ARC2Mode MODE_OPENPGP: ARC2Mode MODE_EAX: ARC2Mode def new(key: ByteString, mode: ARC2Mode, iv : Optional[ByteString] = ..., IV : Optional[ByteString] = ..., nonce : Optional[ByteString] = ..., segment_size : int = ..., mac_len : int = ..., initial_value : Union[int, ByteString] = ..., counter : Dict = ...) -> \ Union[EcbMode, CbcMode, CfbMode, OfbMode, CtrMode, OpenPgpMode]: ... block_size: int key_size: Iterable[int]