- Block cipher: encrypts data in 128-bit blocks
- Key sizes: 128, 192, and 256 bits
- Secure and efficient for various applications
- Stream cipher: encrypts data in a continuous stream
- Variable key size (40β2048 bits)
- Fast but has known security vulnerabilities
This repository provides simple Python implementations of:
- AES (ECB mode) using
pycryptodome
- RC4 stream cipher implemented from scratch
- AES encryption and decryption with padding
- RC4 encryption and decryption using KSA and PRGA