Giter VIP home page Giter VIP logo

infosec_rsa_algo's Introduction

Information Security: RSA Algorithm Implementation

Modification and Implementation of RSA algorithm using PRNG techniques in MATLAB

RSA is the asymmetric cryptography system. The security of the RSA public-key cryptosystem is based on the assumption that factoring of a large modulus is difficult. In RSA if someone can factor modulus into a product of two prime numbers, then the private key is also detected and hence the security of the cryptosystem is broken. So it is quite important to research the selection of prime and derive the private key from the public key.

This project focuses on modifying the RSA algorithm by using PRNG implementation technique. The pseudo-random number generator will be implemented in MATLAB and checked for the most efficient and cryptographically secure random number. Then, RSA is to be modified using a pseudo-random number generator and implemented in MATLAB. RSA involves complex and intensive computation. And MATLAB is a known software package for high-performance numerical computation and visualization.

Pseudorandom numbers are generated by deterministic algorithms. They are "random" in the sense that, on average, they pass statistical tests regarding their distribution and correlation. They differ from true random numbers in that they are generated by an algorithm, rather than a truly random process.

Software Used: MATLAB R2019b

Try out yourself:

  1. Open the powermod_function.m, cryptography_func.m, and key_generation_func.m files on MATLAB software.
  2. Run the key_generation_func.m to get the private and public keys of the process.
  3. Download the inputfile.txt and open it. Add the message you want to encrypt. As a default, the message "thisprojectiscreatedbysinghishitaforrsaalgorithm" is entered there.
  4. Open and run the algorithm_implementation_code.m on MATLAB.
  5. You will get the encrypted message as well as decrypted message.

infosec_rsa_algo's People

Contributors

singhishita avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

anggastika

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.