You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
266 B
16 lines
266 B
5 years ago
|
from typing import Union, Iterable
|
||
|
|
||
|
from Crypto.Cipher._mode_ecb import EcbMode
|
||
|
|
||
|
MODE_ECB: int
|
||
|
|
||
|
Buffer = Union[bytes, bytearray, memoryview]
|
||
|
|
||
|
def new(key: Buffer,
|
||
|
mode: int,
|
||
|
salt: Buffer,
|
||
|
cost: int) -> EcbMode: ...
|
||
|
|
||
|
block_size: int
|
||
|
key_size: Iterable[int]
|