Skip to content
Calcapedia
Print as
Number of problems

In the print window, choose “Save as PDF” as the printer (or print it on paper). Seed 1 rebuilds this exact sheet.

Showing 10 problems, seed 1.

Password Entropy worksheet

Grades 11–12 · CCSS HSF.BF.B.5

Solve each problem and show your work. Round answers to 2 decimal places where needed.

  1. Problem 1.
    • Password style: Random words (passphrase)
    • Number of words: 6
    • Word-list size: 8,000

    Find: Entropy

  2. Problem 2.
    • Password style: Random words (passphrase)
    • Number of words: 5
    • Word-list size: 6,200

    Find: Entropy

  3. Problem 3.
    • Password style: Random characters
    • Length: 11 characters
    • Lowercase letters (26): Yes
    • Uppercase letters (26): Yes
    • Digits (10): Yes
    • Symbols (32): No

    Find: Entropy

  4. Problem 4.
    • Password style: Random characters
    • Length: 13 characters
    • Lowercase letters (26): Yes
    • Uppercase letters (26): Yes
    • Digits (10): Yes
    • Symbols (32): No

    Find: Entropy

  5. Problem 5.
    • Password style: Random words (passphrase)
    • Number of words: 6
    • Word-list size: 10,000

    Find: Entropy

  6. Problem 6.
    • Password style: Random words (passphrase)
    • Number of words: 5
    • Word-list size: 7,600

    Find: Entropy

  7. Problem 7.
    • Password style: Random characters
    • Length: 12 characters
    • Lowercase letters (26): Yes
    • Uppercase letters (26): Yes
    • Digits (10): Yes
    • Symbols (32): No

    Find: Entropy

  8. Problem 8.
    • Password style: Random words (passphrase)
    • Number of words: 6
    • Word-list size: 11,000

    Find: Entropy

  9. Problem 9.
    • Password style: Random words (passphrase)
    • Number of words: 5
    • Word-list size: 8,000

    Find: Entropy

  10. Problem 10.
    • Password style: Random words (passphrase)
    • Number of words: 7
    • Word-list size: 7,800

    Find: Entropy

Answer key: Password Entropy worksheet

  1. 1. Entropy: 77.79 bits

    1. Each word is one random pick from the list, so the pool size N is the number of words in the list

      N=8,000
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(8,000)=12.965784 bits
    3. Multiply by the number of words, because every random pick adds the same bits. This gives the entropy H

      H=6×12.965784=77.794706 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      277.792×10,000,000,000=13,107,200,000,000.03 s=about 415,342 years
  2. 2. Entropy: 62.99 bits

    1. Each word is one random pick from the list, so the pool size N is the number of words in the list

      N=6,200
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(6,200)=12.598053 bits
    3. Multiply by the number of words, because every random pick adds the same bits. This gives the entropy H

      H=5×12.598053=62.990263 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      262.992×10,000,000,000=458,066,416 s=about 14.5 years
  3. 3. Entropy: 65.5 bits

    1. Add up the sizes of the chosen sets (lowercase, uppercase, digits) to get the pool size

      N=26+26+10=62
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(62)=5.954196 bits
    3. Multiply by the number of characters, because every random pick adds the same bits. This gives the entropy H

      H=11×5.954196=65.496159 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      265.52×10,000,000,000=2,601,828,034.191858 s=about 82.4 years
  4. 4. Entropy: 77.4 bits

    1. Add up the sizes of the chosen sets (lowercase, uppercase, digits) to get the pool size

      N=26+26+10=62
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(62)=5.954196 bits
    3. Multiply by the number of characters, because every random pick adds the same bits. This gives the entropy H

      H=13×5.954196=77.404552 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      277.42×10,000,000,000=10,001,426,963,433.426 s=about 316,926 years
  5. 5. Entropy: 79.73 bits

    1. Each word is one random pick from the list, so the pool size N is the number of words in the list

      N=10,000
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(10,000)=13.287712 bits
    3. Multiply by the number of words, because every random pick adds the same bits. This gives the entropy H

      H=6×13.287712=79.726274 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      279.732×10,000,000,000=49,999,999,999,999.984 s=about 1,584,404 years
  6. 6. Entropy: 64.46 bits

    1. Each word is one random pick from the list, so the pool size N is the number of words in the list

      N=7,600
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(7,600)=12.891784 bits
    3. Multiply by the number of words, because every random pick adds the same bits. This gives the entropy H

      H=5×12.891784=64.458919 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      264.462×10,000,000,000=1,267,762,688.000006 s=about 40.2 years
  7. 7. Entropy: 71.45 bits

    1. Add up the sizes of the chosen sets (lowercase, uppercase, digits) to get the pool size

      N=26+26+10=62
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(62)=5.954196 bits
    3. Multiply by the number of characters, because every random pick adds the same bits. This gives the entropy H

      H=12×5.954196=71.450356 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      271.452×10,000,000,000=161,313,338,119.8938 s=about 5,112 years
  8. 8. Entropy: 80.55 bits

    1. Each word is one random pick from the list, so the pool size N is the number of words in the list

      N=11,000
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(11,000)=13.425216 bits
    3. Multiply by the number of words, because every random pick adds the same bits. This gives the entropy H

      H=6×13.425216=80.551295 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      280.552×10,000,000,000=88,578,049,999,999.89 s=about 2,806,869 years
  9. 9. Entropy: 64.83 bits

    1. Each word is one random pick from the list, so the pool size N is the number of words in the list

      N=8,000
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(8,000)=12.965784 bits
    3. Multiply by the number of words, because every random pick adds the same bits. This gives the entropy H

      H=5×12.965784=64.828921 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      264.832×10,000,000,000=1,638,399,999.999998 s=about 51.9 years
  10. 10. Entropy: 90.5 bits

    1. Each word is one random pick from the list, so the pool size N is the number of words in the list

      N=7,800
    2. Find the bits each pick adds: log₂(N), the number of times you double 1 to reach the pool size N

      log₂(7,800)=12.929258 bits
    3. Multiply by the number of words, because every random pick adds the same bits. This gives the entropy H

      H=7×12.929258=90.504809 bits
    4. Estimate the guessing time. On average an attacker finds it halfway through all the possibilities. At an assumed 10,000,000,000 guesses per second, that takes

      290.52×10,000,000,000=8.782784e+16 s=about 2,783,096,442 years