Compression, Encryption and Hashing Flashcards

1
Q

Encryption

A

The process of encoding messages so it can be read only by sender and intended recipient

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

What is the original data known as?

A

Plaintext

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

What is the encrypted data known as?

A

Ciphertext

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

What does symmetric encryption involve?

A

Using a single key to encrypt and decrypt data

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

What does asymmetric encryption involve?

A

Using 2 keys (1 public, 1 private) to encrypt and decrypt data

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

Types of compression

A

Lossy and lossless

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

2 characteristics of lossy compression

A
  • Some data is removed to reduce file size
  • Compressed files can’t be reinstated to original detail
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

2 characteristics of lossless compression

A
  • Lossless retains all data by encoding it
  • Original file can be regenerated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Types of encoding`

A
  • Dictionary
  • Run-length
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Characteristic of dictionary encoding

A

Compression algorithm builds index where each item is recorded along with index reference

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

Characteristic of run-length encoding

A

If data item is occurs multiple times than it’s stored once in index along with no. of reps

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

Hashing

A

Method for creating random access to store data

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

Hash function

A

Applied to field to calculate storage address for data associated with that item

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