Debian Codegraph @

lib/Crypto/Cipher/_mode_cfb.pyi

raw symbols SCIP
1 from typing import Union, overload
2
3 from Crypto.Util._raw_api import SmartPointer
4
5 Buffer = Union[bytes, bytearray, memoryview]
6
7 __all__ = ['CfbMode']
8
9
10 class CfbMode(object):
11 block_size: int
12 iv: Buffer
13 IV: Buffer
14
15 def __init__(self,
16 block_cipher: SmartPointer,
17 iv: Buffer,
18 segment_size: int) -> None: ...
19 @overload
20 def encrypt(self, plaintext: Buffer) -> bytes: ...
21 @overload
22 def encrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...
23 @overload
24 def decrypt(self, plaintext: Buffer) -> bytes: ...
25 @overload
26 def decrypt(self, plaintext: Buffer, output: Union[bytearray, memoryview]) -> None: ...