Relative Content

Tag Archive for cryptographygenetic-algorithmcrossover

Using class objects as DNA strands for a genetic algorithm

I’m working on a project that attempts to attack classical cryptography schemes using a genetic algorithm. Outside of very simplistic GAs using only strings/swapping characters for crossover, I’m not sure how to attack the problem I am facing. I would to crossover two object instances of the same type that have crypto parameters and other attributes walking these objects/their nested objects instead of encoding as a string; there are validations for variations and don’t want to waste CPU cycles on invalid encodings or splitting the wrong part of the string/serialization and deserialization.