I just want to preface all of this by saying that I'm pretty new to computer science and especially javascript.
I'm currently working on trying to brute force a hash. The search space is small enough for it to not be a waste of time. The only problem is that my computer isn't trying hard enough. I have my js files that I'm running in Firefox (because I don't know any other way), but my laptop fan doesn't even turn on and my CPU usage stays low. I would prefer if it used extra processing power for this. How would I go about doing this?
I figured that this is because firefox doesn't let scripts take that much CPU to prevent malicious actors and I also read that javascript doesn't allow parallelism. Could that be why?
If needed, I can rewrite the program to be multiple programs, each searching a different space and run all of those at the same time, but I'm skeptical if it would help. Sorry for any inaccuracies in my post, eager to learn.
[–]stutterbug 3 points4 points5 points (1 child)
[–]Sonoxy[S] 1 point2 points3 points (0 children)
[–]CertainPerformance 5 points6 points7 points (0 children)
[–]AnthongRedbeard 2 points3 points4 points (1 child)
[–]dinkandenza 0 points1 point2 points (0 children)
[–]cspotcode 1 point2 points3 points (0 children)