Skip to content

jayypatel18/SDES

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDES (Simplified Data Encryption Standard)

Overview

SDES is a simplified version of the Data Encryption Standard (DES) designed to illustrate the core concepts of block cipher algorithms. This implementation focuses on demonstrating the fundamental principles of encryption and decryption using SDES, making it an excellent resource for educational purposes.

Features

  • Encryption and Decryption: Implements the basic encryption and decryption functionalities of the SDES algorithm.
  • Key Generation: Supports key generation using a 10-bit key.
  • Permutations and Substitutions: Includes detailed permutations and substitutions operations to show how SDES transforms data.

Getting Started

To use this project, follow these steps:

  1. Clone the Repository:
  2. git clone https://github.com/jayypatel18/SDES.git
    cd SDES
  3. Build the Project:
  4. Follow the instructions specific to your development environment. For example, you may need to use make or another build tool if applicable.

  5. Run the Example:
  6. After building the project, you can run the example to see SDES in action. Make sure to provide the necessary input parameters (like the key and plaintext) as specified in the documentation.

Usage

Here's a brief overview of how to use the SDES implementation:

from sdes import SDES

# Initialize SDES with a 10-bit key
key = "1010000010"
sdes = SDES(key)

# Encrypt plaintext
plaintext = "11001100"
ciphertext = sdes.encrypt(plaintext)
print(f"Ciphertext: {ciphertext}")

# Decrypt ciphertext
decrypted_text = sdes.decrypt(ciphertext)
print(f"Decrypted Text: {decrypted_text}")

Contributing

Contributions are welcome! If you have suggestions or improvements, please open an issue or submit a pull request.

  1. Fork the Repository
  2. Create a Feature Branch
  3. Commit Your Changes
  4. Push to the Branch
  5. Open a Pull Request

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

Contact

For any questions or support, please contact jayypatel18.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages