You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode Password salt: why two people with the same password get different hashes

How passwords and logins work: why a website should not know your password

Password hashing algorithms: how a website fights a very fast password cracker

One graphics card can try billions of password guesses a second against a stolen hash. A website cannot make your password longer. But it can make every single guess cost much more.

  1. 1 The hash function you have seen so far, SHA-256, was built to be fast. On one graphics card, Rono can try about 20 billion guesses a second on your row.Rono's graphics card20 billion guessesa secondSHA-256

    The hash function you have seen so far, SHA-256, was built to be fast. On one graphics card, Rono can try about 20 billion guesses a second on your row.

  2. 2 At that speed, every possible password of 8 small letters and digits, about 3 trillion of them, is tried in under 3 minutes.every password of8 small letters and digitsaaaaaaaaaaaaaaabaaaaaaac99999999about 3 trillionunder 3 minutes

    At that speed, every possible password of 8 small letters and digits, about 3 trillion of them, is tried in under 3 minutes.

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

Next episode Password strength: what really makes a password hard to guess

Share this comic

More comics