mirror of
https://github.com/Legrandin/pycryptodome.git
synced 2025-12-08 05:19:46 +00:00
15 lines
266 B
Python
15 lines
266 B
Python
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]
|