hyb
2026-01-09 4cb426cb3ae31e772a09d4ade5b2f0242aaeefa0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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]