Skip to content

This repository contains an implementation and performance comparison of sequential and parallel algorithms for the Data Encryption Standard (DES) using asyncio in Python.

Notifications You must be signed in to change notification settings

AlessioChen/DES-Algorithm-Performance-Comparison-using-asyncio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DES Algorithm Performance Comparison using asyncio

This project aims to compare the performance of sequential and parallel implementations of the Data Encryption Standard (DES) algorithm using the asyncio concurrent library in Python. The comparison focuses on decrypting a set of randomly generated passwords encrypted with DES.

Overview

The project consists of two main components:

  • Implementation: Sequential and parallel implementations of DES decryption algorithms are provided. The sequential approach decrypts passwords one after the other, while the parallel approach utilizes asyncio to execute decryption tasks concurrently across multiple threads.

  • Evaluation: Performance evaluations are conducted to compare the execution times and scalability of the sequential and parallel implementations. Tests are performed with varying numbers of passwords and threads to analyze performance variations under different scenarios.

Files

  • main.py: Contains the main code for running the sequential and parallel implementations and conducting performance evaluations.
  • des.py: Contains the implementations of encryption, decryption methods.
  • words_gen.pt: Contains the script to randomly generate the input.
  • utils.py: Utility functions for encryption, decryption, and other auxiliary tasks.
  • report.pdf: file containing the detailed report of the project, including methodology, results, and conclusions.

Requirements

Python 3.x

About

This repository contains an implementation and performance comparison of sequential and parallel algorithms for the Data Encryption Standard (DES) using asyncio in Python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages