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 8578535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:24:45+00:00 2026-06-11T20:24:45+00:00

There is a nice site http://www.howsecureismypassword.net/ which determines how long it will take to

  • 0

There is a nice site http://www.howsecureismypassword.net/ which determines how long it will take to crack a password.

What I want is to implement feature like this, so I need an algorithm for that

  • 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-11T20:24:46+00:00Added an answer on June 11, 2026 at 8:24 pm

    Knowing the common password attack vectors will give you an idea of how you might go about calculating this. When we need a number, let’s assume that a desktop computer can check 4 billion (4×109) passwords per second, which seems about right.

    It’s important to realize that an attacker is rarely attempting to crack just your password. Instead, they will have user ids for a large number of accounts, and they want to try to crack as many of them as possible. As such, it pays for them to invest most of the time in cracking the easy passwords, and not bothering with difficult passwords.

    0. Really obvious attacks

    Try entering the user id for the password. It’s surprising how many people do this. Your password is crackable instantaneously.

    1. Dictionary attacks

    This is simple. The attacker just needs to keep a list of (say) the 106 most common passwords in use, and check each of them once. This can be done in well under a second. If your password is in the list of most common passwords, then it can probably be cracked nearly instantaneously.

    2. Brute force

    If your password isn’t in a dictionary, then one other option is to use brute force. The time taken to crack a password using this method depends on (a) the length of the password, and (b) the symbol set that comprises the password. The general formula is

    timeTaken = (sizeOfSymbolSet ^ passwordLength) / (4*10^9)  # (seconds)
    

    For example, if your password consists only of lowercase letters, then the size of the symbol set is 26. Here’s a list of how long it might take to crack your password as a function of its length:

    Length Time
         4   0.1 millisecs
         6   0.1 seconds
         8   1 minute
        10   10 hours
        12   9 months
    

    If you use all lowercase and uppercase letters, numbers and symbols then the symbol set is closer to 100. It takes correspondingly longer to crack your password:

    Length Time
         4   25 millisecs
         6   4 minutes
         8   28 days
        10   800 years
        12   8 million years
    

    Don’t get too complacent yet, though! The 8 million year figure assumes that you have a random selection of 12 letters, numbers and symbols as your password, i.e. your password is something like

    t8Qkx#rxZAM@
    %Kuc;p8WHmFU
    xDE!XE$rLGh4
    KJdx2K8BS33K
    HTaeCc&t46L;
    

    How many people have a password like that?

    3. Combined methods

    This relies on a combination of ingenuity and brute force. It’s a mix between the first two methods, and relies on common “password conventions” rather than common passwords.

    For example, many people have a password of the form “a dictionary word followed by a number”. There are about 2×105 words in the Oxford English Dictionary, so to generate all combinations “dictionary word followed by number” is about 2 million different passwords, which can again be easily checked in under a second.

    Other common tropes include replacing characters by similar-looking symbols- o with 0, l with 1, a with @ etc. Once you have a list of dictionary words, it is trivial to generate all of these replacements. At a guess, you might increase the length of the list by a factor of 1000, which is still checkable in around a second.

    My guess is that the site uses a combination of some or all of these approached to work out how long it would take to crack your password.

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

Sidebar

Related Questions

http://www.lotterypost.com/js-compress.aspx This is site is very nice for compressing JS but I want to
i have seen a nice sliding effect in this site: http://www.fnxcard.com/ browse to the
There is a really nice guide on the maven site about how to encrypt
Is there a nice way in Ext to move elements in DOM? I want
I want to swap both references, is there a nice way make such a
There's a nice F# workflow builder for Rx here: http://blogs.msdn.com/b/dsyme/archive/2011/05/30/nice-f-syntax-for-rx-reactive-extensions.aspx I've been trying to
I have a section on my site very similar to this site: http://www.royalways.com/index.html however
A nice simple question: Is there something similar to http://studiostyl.es/ for Eclipse? Update :
I am trying to make something like this site has: http://www.eventipity.com/ When you press
There are nice documentation on the jquery ui site on showing auto-complete options categorized

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.