CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: RSA Decryption

  1. #1
    Join Date
    Jan 2011

    Unhappy RSA Decryption

    hi everybody;
    recently i started to research about HTTPS RSA TLS SSL bla bla.. now im so confused because my boss want me to write a code that can brute force attack to find private key of RSA... im just a student and i dont know C# too much. (actually i wrote some code but it isnt stable and i dont think it can find ) can you help me a little ?
    PS: it isnt for hack, our company im working is working on a program about network and they wanna know if there is a possibility to find the private number. ( my life depands on this please help, i know its not possible to find in a short time but i need a working code which i can work on it )

  2. #2
    Join Date
    Feb 2011
    United States

    Re: RSA Decryption

    Here is some general information about RSA: http://en.wikipedia.org/wiki/RSA

    You are not, however, likely to succeed in a brute-force attack (or any type of attack, really). Typical RSA key sizes are on the order of 1024 to 4096 bits. Using a brute-force attack to recover the keys would require a time commitment significantly exceeding the current age of the Universe.

    Unless you're a Ph.D. mathematician employed by the NSA working on exploiting extremely detailed implementation flaws, I would spend your time on more useful projects.

    Outside the context of your essentially impossible problem, however, cryptanalysis, is a very exciting topic. If you are generally interested, I recommend Mark Stamp's book on Applied Cryptanalysis. Link: http://www.amazon.com/Applied-Crypta.../dp/047011486X (I have no affiliation at all with Dr. Stamp; I just enjoyed his book).
    Last edited by BioPhysEngr; February 5th, 2011 at 01:00 PM. Reason: delete duplicate 'howevers'
    Best Regards,

    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.