Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8436231
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:07:34+00:00 2026-06-10T07:07:34+00:00

I am experimenting with multithreading and password crackers seem like the simplest (easier then

  • 0

I am experimenting with multithreading and password crackers seem like the simplest (easier then opengl) intensive task.

Would it be worth the time to write a multithreaded password cracker? would it boost efficiency on a hyper threaded duel core (4 cores)?

Would it be faster to have 1 thread generate the hash while another compares it or divide the generating amongst multiple threads.

A lot of questions I know, an answer to any of them would be great, thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T07:07:36+00:00Added an answer on June 10, 2026 at 7:07 am

    After extensive research I can say multithreading a password cracker is not the best use of time.

    Multithreading, while capable of boosting resource efficiency, is also useful in server\client interactions.

    In the example below multithreading is used to allow a server to accept and interact with multiple clients at the same time.

    while (1) {
    
        listen(sd,10);
        cliLen=sizeof(cliAddr);
        printf("[LISTINING %u][%u]\n",SERVER_PORT,i);
    
        //Accept Connection
    
        newSd = accept(sd, (struct sockaddr *) &cliAddr, &cliLen);
        if(newSd < 0)
        {
            perror("cannot accept connection");
            exit(3);
        }
    
        pthread_create(&pth, NULL, &connectionManager, (void*)newSd);
    
        i++;         
    }
    

    ….
    ….

    int connectionManager(newSd,data){
    
    
    send(newSd,"[Connection Created on New Thread]\n\r",strlen("[Connection Created on New Thread]\n\r"), 0);
    //pthread_create(&pthsend,NULL, &dataSender, (void*)newSd);
    pthread_create(&pthget, NULL, &dataGetter, (void*)newSd);
    pthread_join(pthsend, NULL);
    pthread_join(pthget, NULL);
    close(newSd);
    pthread_exit; 
    
    
    }
    

    Further research can be done to determine an efficiency “sweet spot”. This will likely be different for all Boxes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am experimenting with Dart. I have created an on click event like so:
I'm experimenting with Spring Mobile but I can't seem to get the basic example
I'm experimenting with some multithreading constructions, but somehow it seems that multithreading is not
I've been experimenting with Clojure's multithreading features lately and trying to implement a simple
been experimenting with unordered list UL and i have seem varios examples of using
I am experimenting with elasticsearch as a search server and my task is to
I am experimenting with Multithreading in java, basically I want to make two threads,
Experimenting with arrays and wondering why the following DOESN'T seem to print the values
I am experimenting with multithreading in Delphi (XE) and have run into a problem
Just experimenting with JS + canvas and i seem to have hit a wall.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.