Giter Club home page Giter Club logo

sahil-4555 / simplified_dataencryption_standard_sdes Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 48 KB

Simplified Data Encryption Standard (S-DES) is a simple version of the DES Algorithm. It is a block cipher that takes a block of plain text and converts it into ciphertext. It takes a block of 8 bit. It is a symmetric key cipher, they use the same key for both encryption and decryption. We take a random 10-bit key and produce two 8-bit keys.

C++ 100.00%
algorithms cipher-algorithms cryptography sdes-cipher block-cipher ciphertext encryption encryption-decryption key-encryption-key symmetric-encryption

simplified_dataencryption_standard_sdes's Introduction

SDES (Simplified Data Encryption Standard)

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.

Functionality

SDES provides the following functionality:

  1. Encryption: SDES takes an 8-bit plaintext and a 10-bit key as input and produces an 8-bit ciphertext as output.
  2. 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.
  3. Key Generation: SDES generates two 8-bit keys from a given 10-bit key for use in encryption and decryption.

Features

SDES offers the following features:

  1. Simplicity: SDES is a simplified version of the more complex DES algorithm, making it easier to understand and implement.
  2. Small Block Size: SDES operates on 8-bit blocks of data, allowing it to encrypt and decrypt small amounts of data efficiently.
  3. Symmetric Key: SDES uses the same key for both encryption and decryption, simplifying the key management process.
  4. Basic Encryption: SDES provides a basic level of encryption suitable for simple applications and educational purposes.
  5. Lightweight: SDES has a small code footprint and low computational requirements, making it suitable for resource-constrained environments.

C++ Implementation

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

Output

SDES_CPP_IMPLEMENTATION

Acknowledgment

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.

simplified_dataencryption_standard_sdes's People

Contributors

sahil-4555 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.