A
A
Alina Mitrokhina2020-04-13 19:45:19
Java
Alina Mitrokhina, 2020-04-13 19:45:19

How to parallelize this code?

Good afternoon friends. I have a question. I know about how to work with hashes like SHA, MD5, etc. Implement the logic of converting the password to a hash and comparisons, I can handle this. And here with a multithreading of experience it is less. How would you parallelize this task? It occurs to me to do so. Let's say I have a dictionary containing 900 passwords. I just feed each thread 300 passwords and they look at the dictionary at the same time from a certain place in it. What are your options?
5e94965a11ad0825083564.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question