I can not understand how multi-threaded brute force works. Suppose there is a dictionary for iteration:

aaa bbb ccc ddd 

How is this dictionary divided into streams? In half? That is, if I run 2 threads, the first thread will be aaa, bbb , and in the second, ccc, ddd ?!

  • one
    Yes, whatever. can even one odd flow to another. Maybe the work of some blocks issued. And maybe as you suggested. - Mike
  • how is done more correctly? with a large number of threads (50-100) - fromang
  • No "more correct". - Mike
  • Suppose there is a dictionary of 15 words, I want to run in 4 threads. How to distribute them correctly? - fromang
  • 3
    There is such a thing - the producer-consumer. In this case, producer is a code that generates a sequence of words (or reads from a file). A Consumer is a stream that checks. As a result, the consumer thread asks the producer stream for a certain number of words and checks them. - KoVadim

0