ARC4.pyi 413 B

1234567891011121314
  1. from typing import Any, Union, Iterable, ByteString
  2. class ARC4Cipher:
  3. block_size: int
  4. key_size: int
  5. def __init__(self, key: ByteString, *args: Any, **kwargs: Any) -> None: ...
  6. def encrypt(self, plaintext: ByteString) -> bytes: ...
  7. def decrypt(self, ciphertext: ByteString) -> bytes: ...
  8. def new(key: ByteString, drop : int = ...) -> ARC4Cipher: ...
  9. block_size: int
  10. key_size: Iterable[int]