-
Supports multiple image formats: PBM, GIF, JPEG, PNG.
-
Color and grayscale image processing.
-
Various encryption modes
:
- ECB (Electronic Codebook)
- CBC (Cipher Block Chaining)
- OFB (Output Feedback)
- CFB (Cipher Feedback)
- CTR (Counter)
- Python 3.x
- Pillow (PIL) library
- argparse
Install the Pillow and argparse library using pip:
pip install pillow argparse
- Path to the image file that you want to encrypt.
python sdes_image_encryption.py path_to_plaintext_image.extension
- sdes_image_encryption.py: Main script containing the S-DES algorithm implementation and image encryption/decryption functions.
- README.md: This document.