wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Cryptology Tools

Total questions: 73

Worksheet time: 18hrs 15mins

Name
Class
Date
1.

What is data confidentiality?

a)

information is not disclosed to unauthorized parties

b)

information cannot be modified by unauthorized parties

c)

data and resources are available to authorized users

2.

What is data integrity?

a)

information is not disclosed to unauthorized parties

b)

information cannot be modified by unauthorized parties

c)

data and resources are available to authorized users

3.

What is data availability?

a)

information is not disclosed to unauthorized parties

b)

information cannot be modified by unauthorized parties

c)

data and resources are available to authorized users

4.

What does a transposition cipher do?

a)

rearranges plaintext characters to alter their position.

b)

replaces plaintext characters by different ciphertext characters.

5.

What does a substitution cipher do?

a)

rearranges plaintext characters to alter their position.

b)

replaces plaintext characters by different ciphertext characters.

6.

A cryptosystem is a five-tuple (P, C,K, E, D). What is true about P?

a)

P is a finite set of plaintexts (ranged over by m).

b)

P is a finite set of ciphertexts (ranged over by c).

c)

P, the keyspace, is a finite set of keys (ranged over by k).

d)

P is a family of encryption rules ek : P → C.

e)

P is a family of decryption rules dk : C → P.

7.

A cryptosystem is a five-tuple (P, C,K, E, D). What is true about C?

a)

C is a finite set of plaintexts (ranged over by m).

b)

C is a finite set of ciphertexts (ranged over by c).

c)

C, the keyspace, is a finite set of keys (ranged over by k).

d)

C is a family of encryption rules ek : P → C.

e)

C is a family of decryption rules dk : C → P.

8.

A cryptosystem is a five-tuple (P, C,K, E, D). What is true about K?

a)

K is a finite set of plaintexts (ranged over by m).

b)

K is a finite set of ciphertexts (ranged over by c).

c)

K, the keyspace, is a finite set of keys (ranged over by k).

d)

K is a family of encryption rules ek : P → C.

e)

K is a family of decryption rules dk : C → P.

9.

A cryptosystem is a five-tuple (P, C,K, E, D). What is true about E?

a)

E is a finite set of plaintexts (ranged over by m).

b)

E is a finite set of ciphertexts (ranged over by c).

c)

E, the keyspace, is a finite set of keys (ranged over by k).

d)

E is a family of encryption rules ek : P → C.

e)

E is a family of decryption rules dk : C → P.

10.

A cryptosystem is a five-tuple (P, C,K, E, D). What is true about D?

a)

D is a finite set of plaintexts (ranged over by m).

b)

D is a finite set of ciphertexts (ranged over by c).

c)

D, the keyspace, is a finite set of keys (ranged over by k).

d)

D is a family of encryption rules ek : P → C.

e)

D is a family of decryption rules dk : C → P.

11.

What is Kerckhoffs’s principle?

a)

a cryptosystem should be secure even if everything about the system, except the key, is public knowledge.

b)

the number of transistors on a chip doubles approximately every two years.

c)

a cryptosystem should be secure as long as the key is is not public knowledge.

d)

A cryptosystem should be secure regardless of hardware

12.

What is Moore's law?

a)

a cryptosystem should be secure even if everything about the system, except the key, is public knowledge.

b)

the number of transistors on a chip doubles approximately every two years.

c)

a cryptosystem should be secure as long as the key is is not public knowledge.

d)

A cryptosystem should be secure regardless of hardware

13.

What would have taken the world’s fastest supercomputer a year back in 2000 can be computed in _____ today.

a)

an hour

b)

a day

c)

a week

d)

a month

e)

half a year

14.

Is 17 ≡ 7 (mod 5)?

a)

Yes

b)

No

15.

Is 38 ≡ 14 (mod 12)?

a)

Yes

b)

No

16.

Is 54 ≡ 21 (mod 7)?

a)

Yes

b)

No

17.

What is 7 + 2 in Z9? (Zm is the set {0, . . . , m − 1})

a)

0

b)

1

c)

2

d)

3

e)

4

18.

What is 11*13 in Z16? (Zm is the set {0, . . . , m − 1})

a)

13

b)

14

c)

15

d)

16

e)

17

19.

Identify A with 0, B with 1, ..., Z with 25. For the plaintext: THISISASHIFTCIPHER, what would be the encrypted text given k = 11 for a shift cipher?

a)

ESTDTDLDSTQENTASPC

b)

ESTDTDLDSTRENTASPC

c)

ESTDTDLESTQENTASPC

d)

ESTDTDLDSTQENTBSPC

e)

ESTDTDLDSTQFNTASPC

20.

What is the multiplicative inverse of 3 modulo 5?

a)

1

b)

2

c)

3

d)

4

e)

5

21.

What is the multiplicative inverse of 1 modulo m?

a)

1

b)

2

c)

3

d)

4

e)

0

22.

Is there a multiplicative inverse of 2 modulo 6?

a)

Yes

b)

No

23.

What is gcd(654, 444)?

a)

4

b)

5

c)

6

d)

7

e)

8

24.

What is true about a simple substitution cipher?

a)

A simple substitution cipher operates on single letters.

b)

A simple substitution cipher operates on larger groups of letters.

c)

A simple cipher uses a fixed substitution over the entire message.

d)

A simple cipher uses different substitutions at different places in the message.

25.

What is true about a polygraphic substitution cipher?

a)

A polygraphic substitution cipher operates on single letters.

b)

A polygraphic substitution cipher operates on larger groups of letters.

c)

A polygraphic cipher uses a fixed substitution over the entire message.

d)

A polygraphic cipher uses different substitutions at different places in the message.

26.

What is true about a monoalphabetic cipher?

a)

A monoalphabetic cipher operates on single letters.

b)

A monoalphabetic cipher operates on larger groups of letters.

c)

A monoalphabetic cipher uses a fixed substitution over the entire message.

d)

A monoalphabetic cipher uses different substitutions at different places in the message.

27.

What is true about a polyalphabetic cipher?

a)

A polyalphabetic cipher operates on single letters.

b)

A polyalphabetic cipher operates on larger groups of letters.

c)

A polyalphabetic cipher uses a fixed substitution over the entire message.

d)

A polyalphabetic cipher uses different substitutions at different places in the message.

28.

What type of cipher is the Vigenère Cipher?

a)

A simple substitution cipher

b)

A polygraphic substitution cipher

c)

A monoalphabetic cipher

d)

A polyalphabetic cipher

29.

A synchronous stream cipher is a _____________

a)

five-tuple

b)

six-tuple

c)

seven-tuple

d)

eight-tuple

e)

nine-tuple

30.

What is P in a synchronous stream cipher?

a)

a finite set of plaintext (ranged over b m)

b)

a finite set of ciphertexts (ranged over by m)

c)

the keyspace, is a finite set of keys (ranged over by k)

d)

is a finite set, called the keystream alphabet (ranged over by z)

e)

is a family of encryption rules ez : P → C.

31.

What is C in a synchronous stream cipher?

a)

a finite set of plaintext (ranged over b m)

b)

a finite set of ciphertexts (ranged over by m)

c)

the keyspace, is a finite set of keys (ranged over by k)

d)

is a finite set, called the keystream alphabet (ranged over by z)

e)

is a family of encryption rules ez : P → C.

32.

What is K in a synchronous stream cipher?

a)

a finite set of plaintext (ranged over b m)

b)

a finite set of ciphertexts (ranged over by m)

c)

the keyspace, is a finite set of keys (ranged over by k)

d)

is a finite set, called the keystream alphabet (ranged over by z)

e)

is a family of encryption rules ez : P → C.

33.

What is L in a synchronous stream cipher?

a)

a finite set of plaintext (ranged over b m)

b)

a finite set of ciphertexts (ranged over by m)

c)

the keyspace, is a finite set of keys (ranged over by k)

d)

is a finite set, called the keystream alphabet (ranged over by z)

e)

is a family of encryption rules ez : P → C.

34.

What is E in a synchronous stream cipher?

a)

a finite set of plaintext (ranged over b m)

b)

a finite set of ciphertexts (ranged over by m)

c)

the keyspace, is a finite set of keys (ranged over by k)

d)

is a finite set, called the keystream alphabet (ranged over by z)

e)

is a family of encryption rules ez : P → C.

35.

What is D in a synchronous stream cipher?

a)

is a family of decryption rules dz : C → P.

b)

a finite set of ciphertexts (ranged over by m)

c)

the keyspace, is a finite set of keys (ranged over by k)

d)

is a finite set, called the keystream alphabet (ranged over by z)

e)

is a family of encryption rules ez : P → C.

36.

What is g in a synchronous stream cipher?

a)

is a family of decryption rules dz : C → P.

b)

K → L ω is the keystream generator.

c)

the keyspace, is a finite set of keys (ranged over by k)

d)

is a finite set, called the keystream alphabet (ranged over by z)

e)

is a family of encryption rules ez : P → C.

37.

What type of cipher is the Vernan Cipher?

a)

A simple substitution cipher

b)

A polygraphic substitution cipher

c)

A monoalphabetic cipher

d)

A polyalphabetic cipher

e)

A polyalphabetic stream cipher

38.

The following text is encrypted using a shift cipher: BEEAKFYDJXUQYHYJIQRYHTYJIQFBQDUYJIIKFUHCQD


What superhero does it mention?

a)

Spiderman

b)

Batman

c)

Superman

d)

Aquaman

e)

The flash

39.

What is true about a Ciphertext only attack?

a)

The attacker possesses a string of ciphertext, y.

b)

The attacker possesses a string of plaintext, x, and the corresponding ciphertext, y.

c)

The attacker has obtained temporary access to the encryption machinery. He can choose plaintexts x, and construct the corresponding ciphertexts y

d)

The attacker has obtained temporary access to the decryption machinery. He can choose ciphertexts y, and construct the corresponding plaintexts x.

40.

What is true about a known plaintext attack?

a)

The attacker possesses a string of ciphertext, y.

b)

The attacker possesses a string of plaintext, x, and the corresponding ciphertext, y.

c)

The attacker has obtained temporary access to the encryption machinery. He can choose plaintexts x, and construct the corresponding ciphertexts y

d)

The attacker has obtained temporary access to the decryption machinery. He can choose ciphertexts y, and construct the corresponding plaintexts x.

41.

What is true about a chosen plaintext attack?

a)

The attacker possesses a string of ciphertext, y.

b)

The attacker possesses a string of plaintext, x, and the corresponding ciphertext, y.

c)

The attacker has obtained temporary access to the encryption machinery. He can choose plaintexts x, and construct the corresponding ciphertexts y

d)

The attacker has obtained temporary access to the decryption machinery. He can choose ciphertexts y, and construct the corresponding plaintexts x.

42.

What is true about a chosen ciphertext attack?

a)

The attacker possesses a string of ciphertext, y.

b)

The attacker possesses a string of plaintext, x, and the corresponding ciphertext, y.

c)

The attacker has obtained temporary access to the encryption machinery. He can choose plaintexts x, and construct the corresponding ciphertexts y

d)

The attacker has obtained temporary access to the decryption machinery. He can choose ciphertexts y, and construct the corresponding plaintexts x.

43.

How many keys on average does a brute force attack have to check?

a)

|K|

b)

|K|/2

c)

|K|/3

d)

|K|/4

e)

|K|/5

44.

What block size does AES use?

a)

128 bit

b)

256 bit

c)

64 bit

d)

32 bit

e)

512 bit

45.

What key size does AES use?

a)

128 bit

b)

256 bit

c)

64 bit

d)

32 bit

e)

192 bit

46.

What are the the properties that help ensure security of a block cipher?

a)

Confusion

b)

Diffusion

c)

Disguise

d)

Divergence

e)

Obscurity

47.

What is true about confusion when it comes to security of a block cipher?

a)

makes it hard to find the key even if one has a large number of plaintext-ciphertext pairs.

b)

Each bit of the ciphertext block depends on the plaintext block bits and the key bits in a complex (highly nonlinear) way

c)

Each plaintext block bit or key bit affects many bits of the ciphertext block.

d)

Ideally, the strict avalanche criterion is satisfied: flipping a single input bit changes each output bit with probability 0.5.

e)

dissipates statistical regularities of small plaintext structures into statistical regularities of much larger ciphertext structures.

48.

What is true about diffusion when it comes to security of a block cipher?

a)

makes it hard to find the key even if one has a large number of plaintext-ciphertext pairs.

b)

Each bit of the ciphertext block depends on the plaintext block bits and the key bits in a complex (highly nonlinear) way

c)

Each plaintext block bit or key bit affects many bits of the ciphertext block.

d)

Ideally, the strict avalanche criterion is satisfied: flipping a single input bit changes each output bit with probability 0.5.

e)

dissipates statistical regularities of small plaintext structures into statistical regularities of much larger ciphertext structures.

49.

What is a one-way function?

a)

a function that is easy to compute on every input, but hard to invert for the image of a random input.

b)

a function that is easy to invert if one is given additional information

c)

a function that is hard to compute on every input, but easy to invert for the image of a random input.

d)

a function that is hard to invert despite given additional information

50.

What is a trapdoor function?

a)

a function that is easy to compute on every input, but hard to invert for the image of a random input.

b)

a function that is easy to invert if one is given additional information

c)

a function that is hard to compute on every input, but easy to invert for the image of a random input.

d)

a function that is hard to invert despite given additional information

51.

What year was the first key-recovery attacks on full AES published?

a)

2009

b)

2010

c)

2011

d)

2012

e)

2013

52.

How many keys does a public-key cryptosystem use?

a)

1

b)

2

c)

3

d)

4

e)

5

53.

What is the most widely-used public-key algorithm in the world?

a)

AES

b)

RSA

c)

PGP

d)

DNS

e)

DKIM

54.

Does a public-key encryption allow chosen plaintext attacks?

a)

Yes

b)

No

55.

Does a public-key encryption rely on computational security or perfect secrecy?

a)

Computational security

b)

Perfect secrecy

56.

A trapdoor function is a one-way function that is hard to invert regardless of any given additional information.

a)

False

b)

True

57.

What does RSA rely on?

a)

Integer factorization problem

b)

Discrete logarithm

c)

Simultaneous embedding

d)

Matrix multiplication

e)

Rotation distance

58.

Compute 35 mod 7

a)

3

b)

4

c)

5

d)

6

e)

7

59.

What theorem does RSA rely on?

a)

Fermat's little theorem

b)

Prime number theorem

c)

The infinitude of primes

d)

Polyhedron formula

e)

Fermat's last theorem

60.

NIST key management guidelines suggest that 15360-bit RSA keys are equivalent in strength to _____-bit symmetric keys.

a)

256

b)

128

c)

512

d)

64

e)

1024

61.

NIST key management guidelines suggest that _____-bit RSA keys are equivalent in strength to 256-bit symmetric keys.

a)

15360

b)

7680

c)

3840

d)

1920

e)

30720

62.

What is the typical symmetric-key size?

a)

50-250 bits

b)

250-500 bits

c)

500-4500 bits

d)

25-50 bits

e)

8 bits

63.

What is the typical public-key size?

a)

50-250 bits

b)

250-500 bits

c)

500-4500 bits

d)

25-50 bits

e)

8 bits

64.

What is a key encapsulation scheme?

a)

a public-key cryptosystem

b)

a symmetric-key cryptosystem

65.

What is a data encapsulation scheme?

a)

a public-key cryptosystem

b)

a symmetric-key cryptosystem

66.

What is a hash family?

a)

a three-tuple

b)

a four-tuple

c)

a five-tuple

d)

a six-tuple

e)

a seven-tuple

67.

What is M in a hash family?

a)

a (possibly infinite) set of messages

b)

a finite set of message digests

c)

the keyspace, a finite set of keys

d)

For each k ∈ K, there is a hash function hk : H → D in M.

68.

What is D in a hash family?

a)

a (possibly infinite) set of messages

b)

a finite set of message digests

c)

the keyspace, a finite set of keys

d)

For each k ∈ K, there is a hash function hk : H → D in M.

69.

What is K in a hash family?

a)

a (possibly infinite) set of messages

b)

a finite set of message digests

c)

the keyspace, a finite set of keys

d)

For each k ∈ K, there is a hash function hk : H → D in M.

70.

What is H in a hash family?

a)

a (possibly infinite) set of messages

b)

a finite set of message digests

c)

the keyspace, a finite set of keys

d)

For each k ∈ K, there is a hash function hk : M → D in H.

71.

What is preimage resistance?

a)

Given a digest y, it should be infeasible to find a message x such that h(x) = y. In other words, h is a one-way function.

b)

Given a message x, it should be infeasible to find another message x' ≠ x such that h(x') = h(x).

c)

It should be infeasible to find two messages x, x' (with x ≠ x' ) such that h(x) = h(x').

72.

What is second preimage resistance?

a)

Given a digest y, it should be infeasible to find a message x such that h(x) = y. In other words, h is a one-way function.

b)

Given a message x, it should be infeasible to find another message x' ≠ x such that h(x') = h(x).

c)

It should be infeasible to find two messages x, x' (with x ≠ x' ) such that h(x) = h(x').

73.

What is collision resistance?

a)

Given a digest y, it should be infeasible to find a message x such that h(x) = y. In other words, h is a one-way function.

b)

Given a message x, it should be infeasible to find another message x' ≠ x such that h(x') = h(x).

c)

It should be infeasible to find two messages x, x' (with x ≠ x' ) such that h(x) = h(x').