Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-13-2019, 04:34
TempoMat TempoMat is offline
Friend
 
Join Date: Jan 2006
Posts: 89
Rept. Given: 10
Rept. Rcvd 6 Times in 6 Posts
Thanks Given: 4
Thanks Rcvd at 28 Times in 21 Posts
TempoMat Reputation: 6
Update

Well I managed to do it.
It was in the end easier than I thought, due to the fact that only numeric string were hashed.
The solution was:
Code:
For i=11000000 to 99999999
    res=SHA1(i)
    for j=1 to lenHashTable
        if res=HashTable(j)
           Write2File (i=HashTable(i)
        end if
    next j
    Append2HashedFile (res)
next i
It took approximately 2:30 hours to finish on an old Core i3 330M Laptop.
Every 500000 SHA1 hashes generated was saved to a file was which had a size of approx. 27,34 MB.

PS:
The start value was chosen to be 11000000 because the range from 10000000 to 10999999
was used in the testing of the program which yielded no collision with the hardcoded hashes.
Reply With Quote
The Following User Says Thank You to TempoMat For This Useful Post:
tonyweb (03-17-2019)
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 03:55.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )