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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:08:40+00:00 2026-05-25T16:08:40+00:00

Evolutionary Algorithms use a fitness function to select candidates for survival across generations (survival

  • 0
  1. Evolutionary Algorithms use a fitness function to select candidates for survival across generations (“survival of the fittest”). I believe all fitness functions assume that the closer the candidate’s value is to the desired value, the closer their input (“key”) must be to the desired input.

  2. Cryptographic Hash Functions have the property that “it is infeasible to generate a message that has a given hash”. I understand this to mean that there is little or no correlation between the “closeness” of values to the “closeness” of keys.

Putting these two together, doesn’t that imply that the “survival of the fittest” assumption is wrong for Cryptographic Hash Functions? Meaning, if you wanted to use Evolutionary Algorithms to try to figure out the reverse of a Cryptographic Hash value, the fitness function would drive you in the wrong direction. Is the correlation between “closeness” of values and “closeness” of keys a prerequisite of Evolutionary Algorithms?

  • 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-05-25T16:08:41+00:00Added an answer on May 25, 2026 at 4:08 pm

    Yes, it’s pretty much impossible to construct a fitness function that consistently tells you that value A is closer to the goal than value B based on the output of a (good) cryptographic hash function for all three. That follows from the property you mentioned. So evolutionary algorithms can’t speed up reversing cryptographic hash functions for the average case. However, this shouldn’t be a surprise: Said property is only useful in the first place because it breaks precisely the approach of evolutionary algorithms (speeding up reversal by looking at hash value similarity).

    Generalizing this, evolutionary algorithms (like all other algorithms that rely on a heuristic to guide their search, e.g. A*) are only useful if you can define a meaningful fitness function (heuristic)†. Obviously, it is possible to construct problems that don’t allow this (e.g. by giving too little information), and it’s completely propably that there are some more real-world applications that have the same problem. Evolutionary algorithms don’t cure cancer, but again that’s no surprise (nothing does, else we’d have moved to a different metaphor).

    †On a side note, this fitness function doesn’t have to be closeness to any particular value, there are many problems where the fitness can grow indefinitely, e.g. when optimizing code for performance the fitness could be the number of operations per second.

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

Sidebar

Related Questions

Is there a difference between genetic algorithms and evolutionary algorithms ? I have read
I am reading some papers about Genetic Algorithms and often they mention Evolutionary Algorithms
We know that Genetic Algorithms (or evolutionary computation) work with an encoding of the
I have always loved the idea of AI and evolutionary algorithms. Unfortunately, as we
What's the relationship between the Monte-Carlo Method and Evolutionary Algorithms ? On the face
I would like to implement an interactive evolutionary algorithm for generating music (probably just
Programming languages had several (r)evolutionary steps in their history. Some people argue that model-driven
About a year ago, I picked up Scott Ambler's Refactoring Databases: Evolutionary Database Design
Roger Alsing wrote an Evolutionary Algorithm for recreating the Mona Lisa using C#. His
I have begun to do some research about Evolutionary Art algorithm. I read a

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.