pycryptodome/lib/Crypto/Cipher/_mode_ecb.pyi

10 lines
353 B
Python
Raw Normal View History

from typing import Union
from Crypto.Util._raw_api import SmartPointer
__all__ = [ 'EcbMode' ]
class EcbMode(object):
def __init__(self, block_cipher: SmartPointer) -> None: ...
def encrypt(self, plaintext: Union[bytes, bytearray, memoryview]) -> bytes: ...
def decrypt(self, ciphertext: Union[bytes, bytearray, memoryview]) -> bytes: ...