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

  • Home
  • SEARCH
  • 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 8429213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:16:23+00:00 2026-06-10T05:16:23+00:00

consider the following situation: I have a string s and hash function H generating

  • 0

consider the following situation:

  1. I have a string s and hash function H generating the hash “h”.
  2. I send both s and h to another.
  3. he sends back s and h back to me.
  4. On the s and h received , I perform h’=H(s) and compare it with the h received , if they are identical that means the s i received on step 3 is exactly as i sent in step 2.

Is that correct?

If someone has h and s but does not has the H hash function, can he discover(or create) the H function?

thanks

  • 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-10T05:16:24+00:00Added an answer on June 10, 2026 at 5:16 am
    1. Yes, if the hash is the same, both strings are the same, with the possible exception of a hash collision.

    2. In general case it’s not possible to reverse-engineer the hash function from the string and its hash value. Obviously, if the hash function is something common (SHA1), it’s trivial for the “attacker” to try different standard hashing algorithms and see which one was used. But this can be fixed by hashing s together with some secret.

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

Sidebar

Related Questions

Consider the following situation: We have two Localizable.string files, one in en.lproj and one
Consider the following situation: I have two android projects named P1 and P2 which
Consider the following situation: I want to replace links in a string, specifically I
Consider the following common situation: You have some MainView in your Cocoa application, loaded
Consider the following situation. I have 3 tables in a resource planning project(created using
So, please consider the following situation I have a super class of type Shapes
Consider I have the following situation: I have a branch br_foo from revision 4.
Consider the following situation where I have a list of n matrices (this is
consider the following situation: In order to have lots of work processed at my
Consider the following situation: I have a library that includes a third party library.

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.