| 1 | from typing import Any, Union, Iterable |
| 2 | |
| 3 | Buffer = bytes|bytearray|memoryview |
| 4 | |
| 5 | class ARC4Cipher: |
| 6 | block_size: int |
| 7 | key_size: int |
| 8 | |
| 9 | def __init__(self, key: Buffer, *args: Any, **kwargs: Any) -> None: ... |
| 10 | def encrypt(self, plaintext: Buffer) -> bytes: ... |
| 11 | def decrypt(self, ciphertext: Buffer) -> bytes: ... |
| 12 | |
| 13 | def new(key: Buffer, drop : int = ...) -> ARC4Cipher: ... |
| 14 | |
| 15 | block_size: int |
| 16 | key_size: Iterable[int] |