GithubHelp home page GithubHelp logo

allenlee820202 / parallel-aes-algorithm-using-cuda Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 10.0 2.24 MB

This project parallelized the process of AES encryption with CUDA. We can enhance the overall speedup to 3 times than the original serial version.

Cuda 99.66% Makefile 0.34%

parallel-aes-algorithm-using-cuda's Introduction

Parallel-AES-Algorithm-using-CUDA

This project parallelized the process of AES encryption with CUDA. We can enhance the overall speedup to 3 times than the original serial version.

AES program first encrypt the input file with the user-defined key file. Then, to check the correctness of our encryption, we decrypt the encrypted file using the same key file.

Compile using Makefile

make

Run

Usage:

./AES [file to encrypt] [key file] [filename of encrypted file] [filename of decrypted file]

For example, you can try encrypting provided "novel.txt" file with "key.txt" as a key file:

./AES novel.txt key.txt encrypt.txt decrypt.txt
  • encript.txt will be the result of encryption from novel.txt
  • decrypt.txt will be the result of decryption from encrypt.txt.

parallel-aes-algorithm-using-cuda's People

Contributors

allenlee820202 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

parallel-aes-algorithm-using-cuda's Issues

decrypt

decrypt.txt is not same as novel.txt here it doesn't contain valid characters not it produces true output

generate encrypt.txt failed

when input.txt is too large(>20000 line),AES_encrypt kernel do not run,the results is incorrect.please help me

cpu version

Dear Allenlee,

I wondered whether you can share the CPU version to compare the performance. Thanks

Best regards,
Jeff

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.