Multy-thread md5/sha1 bruteforce?
Posted: Thu Feb 23, 2012 10:07 pm
Hi there.
I'm coding md5/sha1 CPU bruteforce tool (I know that GPU bruters are million times faster etc, I only code it for learning). My question is mostly about algorithm.
For example, I use 1 thread for bruteforcing passwords from AAAAA to ZZZZZ.
How to use second thread? My idea was - bruteforce "from the end", from ZZZZZ to AAAAA. Okay, works fine, works faster. But with my core i3 I still have 2 threads avalible (4 virtual cores, CPU usage with 2 threads is 50%).
How can I use 50% of free CPU (2 threads) to increase bruteforce speed?
I'm coding md5/sha1 CPU bruteforce tool (I know that GPU bruters are million times faster etc, I only code it for learning). My question is mostly about algorithm.
For example, I use 1 thread for bruteforcing passwords from AAAAA to ZZZZZ.
How to use second thread? My idea was - bruteforce "from the end", from ZZZZZ to AAAAA. Okay, works fine, works faster. But with my core i3 I still have 2 threads avalible (4 virtual cores, CPU usage with 2 threads is 50%).
How can I use 50% of free CPU (2 threads) to increase bruteforce speed?