SDES (Simplified Data Encryption Standard) is a simplified version of the Data Encryption Standard (DES) algorithm. It is a symmetric-key block cipher that operates on small blocks of data. SDES is designed to provide basic encryption and decryption capabilities while being easy to understand and implement.
SDES provides the following functionality:
- Encryption: SDES takes an 8-bit plaintext and a 10-bit key as input and produces an 8-bit ciphertext as output.
- Decryption: SDES takes an 8-bit ciphertext and the same 10-bit key used for encryption as input and produces the original 8-bit plaintext as output.
- Key Generation: SDES generates two 8-bit keys from a given 10-bit key for use in encryption and decryption.
SDES offers the following features:
- Simplicity: SDES is a simplified version of the more complex DES algorithm, making it easier to understand and implement.
- Small Block Size: SDES operates on 8-bit blocks of data, allowing it to encrypt and decrypt small amounts of data efficiently.
- Symmetric Key: SDES uses the same key for both encryption and decryption, simplifying the key management process.
- Basic Encryption: SDES provides a basic level of encryption suitable for simple applications and educational purposes.
- Lightweight: SDES has a small code footprint and low computational requirements, making it suitable for resource-constrained environments.
Run The SDES.cpp
file Using Command:
g++ SDES.cpp -o SDES
Once the compilation process is successful, you can execute the compiled program. To run the program, use the following command:
./SDES.exe
SDES is based on the original Data Encryption Standard (DES) algorithm developed by IBM in the 1970s. The simplified version and the code implementation provided in this repository is developed by Me.