aboutsummaryrefslogblamecommitdiff
path: root/frozen_deps/Cryptodome/Cipher/ARC4.pyi
blob: b08158595112c97f7876ce4b9f1424f984df2cc1 (plain) (tree)
1
2
3

                                       
                                   












                                                                           
from typing import Any, Union, Iterable

Buffer = bytes|bytearray|memoryview

class ARC4Cipher:
    block_size: int
    key_size: int

    def __init__(self, key: Buffer, *args: Any, **kwargs: Any) -> None: ...
    def encrypt(self, plaintext: Buffer) -> bytes: ...
    def decrypt(self, ciphertext: Buffer) -> bytes: ...

def new(key: Buffer, drop : int = ...) -> ARC4Cipher: ...

block_size: int
key_size: Iterable[int]