Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1DES | AThe size of the DES key, which is small enough for a modern computer to brute-force | |
| 2key_bits = 56 | BData Encryption Standard, an early symmetric block cipher that is now considered insecure | |
| 3DES encrypts data in fixed-size blocks of 64 bits at a time | CDES is symmetric. It uses one shared secret key, not a public and private key pair. | |
| 4DES is a symmetric cipher, so the same secret key encrypts and decrypts the data | Dblock_size = 64 | |
| 5DES is secure because it has a 56-bit key, which is too large to ever brute-force | EA 56-bit key is small, not large. Modern computers can try every possible key, so DES is no longer secure. | |
| 6DES is an asymmetric cipher with a public key and a private key | Fplain = des_decrypt(cipher, key) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
DES — Data Encryption Standard: an early symmetric block cipher using 64-bit blocks and a 56-bit key. Now insecure because modern computers can brute-force its small key.blockBits = 64keyBits = 56totalKeys = 2 ** 56for key in range(2 ** 56):
decrypt(cipher, key)keyBits = 56
if keyBits < 128:
print("DES is weak")