Git Product home page Git Product logo

parallelization-of-des-algorithm-using-open-mp's Introduction

Parallelization-of-DES-Algorithm-Using-Open-MP

Language Used:

1. Parallel Implementation of DES Algorithm

For the parallel Implementation of DES Algorithm, plain text is read from the plaintext.txt file and stored in a string. The string is divided into strings with length=8 each and stored in string array. Then, the divided strings stored in arrays are parallely encrypted and decrypted. Vectors are also used for making the process easy.

Why length=8 is taken for splitting the string?

The ASCII value is taken into consideration and an alphabet corresponds to 8 bit binary when ASCII is taken into consideration.

2. S Box Parallelism

S box is separately parallelized and the implementation code is available in Codes folder. S Box parallelism consumed more time than Technique 1. This might be due to thread overhead.

3. Nested Parallelism

For Nested Parallelism, Technique 1 and 2 are combined. Nested Parallelism also consumed more time than technique 1. This also might be due to thread overhead.

4. Serial Implementation of DES Algorithm

The serial implementation of DES Algorithm is also done and the code is available in Codes folder of the repository.

Note: Don't forget to create plaintext.txt file and the text to be encrypted and decrypted should be there inside the file. Also, don't forget to download matrices.h and numberConversions.h header files.

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.