API reference¶
arc4 module¶
ARCFOUR (RC4) implementation in Python/C API.
-
class
arc4.
ARC4
¶ A class represents a session of RC4 stream cipher.
__init__(key: bytes)
- key : bytes
- A key to encrypt or decrypt.
- ValueError
- When the key length is zero.
You have to initialize an instance in the beginning of each operations.