An open API service indexing awesome lists of open source software.

https://github.com/saharshleo/s-des

Inner working of the S-DES algorithm using interesting animations and visualizations
https://github.com/saharshleo/s-des

cryptography decryption encryption s-des sdes sdes-algorithm sdes-cipher

Last synced: about 1 year ago
JSON representation

Inner working of the S-DES algorithm using interesting animations and visualizations

Awesome Lists containing this project

README

          

# S-DES (Simplified Data Encryption Standard)


https://s-des.herokuapp.com/


This repository showcases the inner working of the S-DES algorithm using interesting animations and visualizations.

Simplified Data Encryption Standard (S-DES) is similar to the DES algorithm. However, it is a smaller algorithm and has fewer parameters than DES.

- It is a **block cipher** that operates on an **8-bit input**.
- Being a symmetric key cipher, it uses the same key for both encryption and decryption. A random **10-bit key** is used to produce **two 8-bit keys** which will in turn, be used for encryption and decryption.
- It uses both, **substitution** and **diffusion**, just like DES.

Install all packages

**`npm install`**

Run the app

**`npm start`**

| **Key Generation** | ![Key Generation](assets/key_gen.png) |
:-------------------------:|:-------------------------:

| | Encryption | Decryption |
:-------------------------:|:-------------------------:|:-------------------------:
Iteration #1 | ![Encryption (Iteration #1)](assets/enc_1.png) | ![Decryption (Iteration #1)](assets/dec_1.png)
Iteration #2 | ![Encryption (Iteration #2)](assets/enc_2.png) | ![Decryption (Iteration #2)](assets/dec_2.png)