Coder Social home page Coder Social logo

csfelix / csharp-fermat-method-rsa-attack Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 27 KB

๐Ÿ‘ฅ Just to education goals, please, doesn't use it to bad purposes!! ๐Ÿ‘ฅ (๐Ÿ”‘ KeyWords: C#, C Sharp, RSA Algorithm, Fermat's Method ๐Ÿ”‘)

csharp rsa security cipher

csharp-fermat-method-rsa-attack's Introduction

๐ŸŒŸ Fermat's Method: RSA Attack ๐ŸŒŸ


โ“ What's it? โ“

  • One day I had to create a software that encrypt and decrypt messages with RSA Algorithm for my University. Some days ago to finish the project, I think: 'Is my program seccure really? Uhm... I gonna check it out!'. So I study one algorithm that refactores prime numbers: Fermat's Method!. Teah, it isn't the best and neither the worst method to break RSA, but it would help me to check the security...

  • I suggest that you already discovered out what I'm meaning, no? Yeah, I developed this project! Fermat's Method: RSA Attack!! A terminal software that calcs private keys to the algorithm and refactore the RSA's Values, giving you the two prime numbers that results in the value during a multiplication.

  • Well, there are three topics that I needa solve: 1) translate the application to English; 2) the refactore function just works one time per execution, that is, when you use this function, if wanna use again, you hafta close and open the program again; 3) the program doesn't work with bigger numbers.

  • Finishing, I developed this program just to educative goals, so, please, doesn't use it to bad goals! About my RSA Agorithm? Was it break by this program? It's a secret!!


โš’๏ธ Tools โš’๏ธ

  • C# and Visual Studio;
  • Windows as your Operational System.

โš™๏ธ Run โš™๏ธ

EXE

  • Download the source code;
  • Go to Ataque_RSA\Ataque_RSA\bin\Debug and execute Ataque_RSA.exe.

Project

  • Download the source code;
  • Import the Ataque_RSA folder into Visual Studio;
  • Open and compile Program.cs file in the editor.

๐Ÿ“ Examples ๐Ÿ“

  • The program contains three commands: 0, 1 and 2, being each of them:
0 >> finish and exit of the program;
1 >> prime factoration with Fermat's Method (you need to choice the RSA's value. RSA's value is the multiplication of the two prime numbers used to generate the public and the private key)
2 >> calcs the private key (you need to choice two prime numbers and a public key)

๐Ÿ“ซ Reach Me ๐Ÿ“ซ

Email: [email protected]

Linkedin: linkedin.com/in/csfelix/

Instagram: instagram.com/c0deplus/


Portfolio: CSFelix.io

csharp-fermat-method-rsa-attack's People

Contributors

csfelix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.