Code Monkey home page Code Monkey logo

Comments (9)

drazioti avatar drazioti commented on May 23, 2024

resolved in pull request #20

from carmichael.

drazioti avatar drazioti commented on May 23, 2024

bug in the implementation. In each round found the same collisions.

from carmichael.

etiganou avatar etiganou commented on May 23, 2024

Σε κάθε γύρω του αλγορίθμου δλδ για διαφορετικό I1, I2 ? Γιατί κανονικά αν πούμε για παράδειγμα 3 γινόμενα έχουν ίδιο hash μπαίνουν στο ίδιο vector. Τώρα για κάθε matching hash που δεν σχηματίζει carmichael θα βρίσκει αυτά τα 3 collisions και τα 3 κάθε φορά, αυτό είναι λογικό

from carmichael.

drazioti avatar drazioti commented on May 23, 2024

For every round (i.e. different choice of I1, I2) always we get the same hashes. For instance

Key: 55368ea18db56
In map: 55368ea18db56
Found a collision
Key: df254c25b2234
In map: df254c25b2234
Found a collision

Then in the next round, new I1,I2 we get the same
and this continues for every round.
Is this logical?

from carmichael.

etiganou avatar etiganou commented on May 23, 2024

Έχετε δίκιο κάτι πάει λάθος

from carmichael.

etiganou avatar etiganou commented on May 23, 2024

Πάντως για Q_bytes = 12 το έτρεξα μέχρι και για 40000 παράγοντες για 4-5 ώρες και δεν βρήκε καθόλου collisions

from carmichael.

drazioti avatar drazioti commented on May 23, 2024

this does not mean that is working properly. Needs more tests.

from carmichael.

drazioti avatar drazioti commented on May 23, 2024

The problem remains.

./a.out 15 13 10 5 1 1 1 1 --ham 17 -b 38 -f 1

...
Combination time: 30.056122 seconds
frag = 1
Time for func2 is: 97.724960 seconds
The first set U1, has been stored in memory
Hashtable size : 48903492

Key: 15d28e3b151d9
In map: 15d28e3b151d9	
Found a collision
Key: ca76c1e153b52
In map: ca76c1e153b52	
Found a collision

T set product attack finished 
Size of I is : 38
h1 = 8
h2 = 9
Hash Implementation: True
Combination time: 30.056122 seconds
frag = 1
Time for func2 is: 97.724960 seconds
The first set U1, has been stored in memory
Hashtable size : 48903492

Key: 15d28e3b151d9
In map: 15d28e3b151d9   
Found a collision
Key: ca76c1e153b52
In map: ca76c1e153b52   
Found a collision```

from carmichael.

drazioti avatar drazioti commented on May 23, 2024

related to #28 #26 #27

from carmichael.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.