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 8568719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:10:24+00:00 2026-06-11T18:10:24+00:00

Is it possible to use MD5 to get checksum that would have optional size

  • 0

Is it possible to use MD5 to get checksum that would have optional size of 128/256/512/1024/2048-bit?

The Digest::MD5 module allows to use the RSA MD5 Message Digest algorithm that takes as input a message of arbitrary length and produces as output a 128-bit fingerprint.

How can be used MD5 to produce larger fingerprint?

  • 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-11T18:10:25+00:00Added an answer on June 11, 2026 at 6:10 pm

    You cannot create a MD5 hash of that size. In general, secure hash functions have been designed for a specific size. They have an internal state of a certain size.

    Of course, you can use MD5 to create a random stream of bytes; just take the previous value and hash again, and keep appending the results. Of course, the total security of the results will be no stronger than the original hash value over the data. After a while the hashes will become weaker, as a little amount of entropy is lost after each hash (this will take pretty long though).

    Currently the best hash function you can use is SHA-512, although it will be slowly replaced by SHA-3 of the identical size (but that has not been standardized at the time of writing). These hash values provide more than enough security, so if you need more data you could simply use a padding method.

    The padding methods that come to mind are:

    • proprietary method to simply add an X number of bytes with known value;
    • the function as used within PBKDF2;
    • the function as used internally for PSS padding (see the public RSA PKCS#1 v2.1 standards).

    As said, it depends on the application which one is the best to use. If you don’t know what you are doing (such as it seems), don’t use MD5. It’s too broken for general use, and it does not have a big enough state or output.

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

Sidebar

Related Questions

Possible Duplicate: Best practices for efficiently storing md5 hashes in mysql We use Hex
I want to encrypt php passwords to 128 characters, how is that possible? I
Possible Duplicate: Is it possible to decrypt md5 hashes? Is it possible to get
I'd like to write a URL shortener that doesn't have to use a database.
Possible Duplicate: php short hash MD5 hashes are long and inconvenient to use. How
Possible Duplicate: Reversing an MD5 Hash I have a bit of code which I
Is it possible use mod_rewrite to resolve addresses hosted on another server? Say I
Is it possible use a MySQL query to perform this kind of check? If
I need a control having these features: It should be possible use it in
Is possible to use ArcSDE API in .NET(C#) ? http://edndoc.esri.com/arcsde/9.2/api/capi/dbconnects/dbconnects.htm Thanks

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.