Error detection and Encryption Flashcards

1
Q

What is a Checksum?

A

A process that adds a check digit at the end based on an algorithm using the data to check it matches with the original.

Needs more processing for the algorithms, and doesn’t self-repair or check for errors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give a disadvantage of a Checksum.

A

Needs more processing for the algorithms.

Doesn’t self-repair or check for errors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the Parity System?

A

A single bit added to a transmission that can be used to check for errors in the transmitted data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does the Parity System work?

A

Once the data is received a parity check is carried out.

If there is an even number of bits that are 1, the even parity is 0 and the odd parity is 1

If there is an odd number of bits that are 1, the even parity is 1 and the odd parity is 0

The choice is based on whether the system is even or odd.

Simple to implement
Requests a transmission if an error occurs.
However, will not detect if 2 errors occur

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give advantages and disadvantages of the parity system.

A

Simple to implement.

Requests a transmission if an error occurs.

However, will not detect if 2 errors occur.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Majority Voting system?

A

A system that sends the same bit multiple times, going with the most common bit value, deciding the majority bit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give advantages and disadvantages of the Majority Voting system.

A

Self-repairs, allowing the errors to be located.

Will fail if enough errors occur to switch the majority vote (3+ errors).

Sends 5x as much data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Symmetric Encryption?

A

The same key is used for encryption and decryption.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Asymmetric Encryption?

A

Different keys are used for encryption and decryption.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Vernam Cipher?

A

A randomly generated one-time binary key, which is the same length as the plaintext.

This is XOR’ed with the plaintext to produce ciphertext. Symmetric encryption.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Advantages of the Vernam Cipher?

A

It is very secure, but extremely long.

Impossible to crack without a key, only allowing guessing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is meant by the term ‘Perfect Security’?

A

Encryption that is impossible to crack in a reasonable amount of time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Encryption?

A

The process of using an algorithm to change data to only be read by the intended recipients.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Decryption?

A

The process of turning the encrypted data back into data that can be understood.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a Cipher?

A

The algorithm which is used to encrypt or decrypt data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Plaintext?

A

the unencrypted message.

17
Q

What is Ciphertext?

A

The encrypted message.

18
Q

What is a ‘Key’ in Encryption?

A

Data which defines how the plaintext was encrypted and how to decrypt it.