wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Encryption, Compression & Hashing

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

Definition of encryption

a)

Using an algorithm and a key to convert message data into a form that is not understandable without that key.

b)

A method of trying to find the plain text from the cipher text without the decryption key.

c)

Process of turning legible text into gobbledygook.

d)

Using an algorithm and a key to convert encrypted message data into its plain text equivalent.

2.

Definition of decryption

a)

Using an algorithm and a key to convert message data into a form that is not understandable without that key.

b)

A method of trying to find the plain text from the cipher text without the decryption key.

c)

Process of turning legible text into gobbledygook.

d)

Using an algorithm and a key to convert encrypted message data into its plain text equivalent.

3.

A Caesar cipher encrypts the plaintext Et tu, Brute into the ciphertext ix xy, fvyxi. What would the same cipher encrypt it was Greek to me into?

a)

mx aew kviio xs qi

b)

ny bfx lwjjp yt rj

c)

ep swo cnaag pk ia

d)

qb eia ozmms bw um

4.

Why are Caesar ciphers so easy to crack?

a)

There are only 25 possible 'shifts', so a brute force attack will easily find the key required.

b)

Use of frequency analysis will be able to find common letters and words.

c)

Each key is only used once.

d)

The number of shifts is calculated from the number of characters in the plaintext.

5.

The Caesar cipher is an example of what type of cipher?

a)

Substitution cipher

b)

Transposition cipher

c)

Public key encryption

d)

Vernam cipher

6.

What are the conditions required for a Vernam cipher to be 100% mathematically secure?

a)

The key is used only once, and then destroyed/

b)

The key is made up of truly random characters/

c)

The key must be made up of fewer characters than the plaintext message.

d)

Different keys must be used to encrypt and decrypt a message.

7.

Which Boolean operator is used to produce the cipher text from the plaintext and the key?

a)

XOR

b)

NOR

c)

OR

d)

NAND

8.

The letter m has an ascii code of 1101101. As part of a Vernam cipher, the key 0101001 is applied to that letter. What is the resulting ciphertext?

a)

1000100

b)

0111011

c)

1100101

d)

1101001

9.

Which cipher is considered to be 100% mathematically secure?

a)

Caesar cipher

b)

Vernam cipher

c)

Transposition cipher

d)

Railfence cipher

10.

If a cipher is theoretically possible to break, but not when using current technology in a timeframe that would be useful is known as what?

a)

Computationally secure

b)

Intractably resistant

c)

Algorithmically impossible

d)

Cryptographically unbreakable

11.

What are the key reasons for compressing data?

a)

Less space needed for storage

b)

Less time to transmit

c)

Higher quality files

d)

Reduced amount of processing power

e)

Limited RAM

12.

Lossless compression...

a)

Is used when not all the information is needed

b)

Is not as effective as lossy compression

c)

Can fully regenerate the original file

d)

Includes files such as .ZIP

e)

Would be a sensible choice for a music download site

13.

Lossy compression...

a)

Permanently removes data from a file

b)

Always leads to a noticeable loss of quality

c)

Aims to remove redundant data

d)

Can return the original file to its original quality

e)

Would be a sensible choice for a music download site.`

14.

Dictionary based compression...

a)

Is a lossless compression format

b)

Creates a dictionary of common letter combinations to encode words with fewer characters

c)

Creates a dictionary of smaller letters so less space is used

d)

Sends the dictionary with the data

e)

Doesn't need to send the dictionary with the data

15.

Run-length encoding...

a)

is Lossless

b)

is Lossy

c)

Can only be used for text

d)

Records the number of repeats of an individual element

e)

Can be used for a wide variety of file types

16.

Encryption...

a)

Uses at least one key to cipher data

b)

Is only used on text

c)

Can be symmetric or asymmetric

d)

Is impossible to break

e)

Has developed a lot as processing power has increased

17.

Symmetrical encryption techniques...

a)

Are the most secure types of encryption

b)

Use a single key to encode/decode

c)

Use multiple keys to encode/decode

d)

Include XOR, Caesar and Route

e)

Include RSA, Diffie-Hellman and DSS

18.

Asymmetrical encryption techniques...

a)

Are the most secure types of encryption

b)

Use a single key to encode/decode

c)

Use multiple keys to encode/decode

d)

Include XOR, Caesar and Route

e)

Include RSA, Diffie-Hellman and DSS

19.

Asymmetrical encryption...

a)

Often requires considerable processing power

b)

Is impossible to break

c)

Is being threatened by the possibility of quantum computing

d)

Can be brute-force attacked

e)

Is very widely used, even in small businesses