GithubHelp home page GithubHelp logo

syedayazsa / des-encryption-parallelization Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 622 KB

In this project I have presented a simple approach to Data Encryption Standard (DES) decryption using OpenMP framework. In order to allow a parallel idiom, I have re-implemented a version of DES algorithm.

C++ 96.55% CMake 2.24% C 1.21%

des-encryption-parallelization's Introduction

Abstract:

In this project I have presented a simple approach to Data Encryption Standard (DES) decryption using OpenMP framework. In order to allow a parallel idiom, I have re-implemented a version of DES algorithm. I've also studied the behaviour of decryption process in two different strategies : a “brute force” version and a dictionary based version.

This OpenMP implementation has shown good results in speedup terms on 8-characters passwords using an ad-hoc dictionary

Introduction:

The Data Encryption Standard (DES) is a symmetric-key algorithm for encryption of electronic data developed in the early 70s at IBM. In 1977, after the acceptance of National Security Agency (NSA), it was published as an official Federal Information Processing Standard (FIPS) for the United States. The algorithm is designed to encipher and decipher blocks of data consisting of 64 bits under control of a 64-bit key. A block, to be enciphered, is subjected to an initial permutation, then to a complex keydependent computation and finally to a permutation which is inverse of the initial one. The key-dependent computation can be simply defined in terms of a function f called cipher function.

Algorithm:

The classic algorithm aims to crypt a 64 bits data with a 64 bits key of which only 56 bits are used (the other 8 bits may be used for error detection). Generally [a-zA-Z0-9./] is supposed as the key characters set. Whenever you want to protect a file with a password, you can split it into 64 bits blocks then use DES algorithm to encrypt each of them but, in this case, what we really want is to encrypt the key without a “real” 64 bits data. To allow it, usually a null 8-bytes (64-bits) string is used as data input.

Output:

des-encryption-parallelization's People

Contributors

syedayazsa avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

muskan0220

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.