Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9207661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:26:12+00:00 2026-06-18T00:26:12+00:00

I recall hearing that some weaknesses were discovered with SHA-1 making it easier to

  • 0

I recall hearing that some weaknesses were discovered with SHA-1 making it easier to find the plaintext input given the output hash. I also know that MD5 has been determined to be weak for some applications. I’m trying to create a program to demonstrate the different complexities of 2 approaches: a brute force search to find the input, and an exploitation of a weakness in SHA-1 or MD5 to find the input.

The plaintext inputs will be of length <4 and will consist of only A-Z, so brute force isn’t impractical.

My questions are:
Is there a C/C++ implementation to reverse SHA-1 by exploiting the weaknesses?
Is there a C/C++ implementation to reverse MD5 by exploiting the weakness?

My current feeling is that any approach to exploitation of the weakness will not have enough of a difference in time-complexity to demonstrate a benefit for such a small sample size.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:26:13+00:00Added an answer on June 18, 2026 at 12:26 am

    For a very detailed outline of a SHA-1 exploit, see

    https://hashcat.net/p12/js-sha1exp_169.pdf

    For such a small input sample, you can build an in-memory rainbow table of all possible input values and their hashes in milliseconds. I doubt you would measure any significant difference using an exploit vs. brute force.

    Further, for such a small input range, collisions are extremely unlikely (therefore there will almost certainly be no collision pairs).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recall hearing once that throwing an object of some type other than System.Exception
I seem to recall hearing at some point (I believe it was MIX09) that
I recall hearing or reading somewhere that SELECT * from TABLE where date >=
I have another rudimentary question. I somewhat recall hearing that everything in C++ goes
From what I can recall, ActiveX components are executable files that conform to some
If I recall correctly, I saw some ungodly C++ library that let you type
I recall reading about an application or library that allows to add some functionality
I recall hearing that the connection process in mysql was designed to be very
I recall reading on php.net (although unfortunately can't seem to find the page) that
I recall when I first read Pragmatic Programmer that they suggested using scripting languages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.