1.3.1 Flashcards

1
Q

What is compression?

A

Reducing the size of a file, usually to speed up transmission

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

What is lossy compression?

A

Some data is lost when compressing the file

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

What is lossless compression?

A

No data is lost when compressing the file

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

What are the two types of lossless compression?

A
  • run length encoding
  • dictionary encoding
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is encryption?

A

When data is scrambled to keep it secure during transmission

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

What is symmetric encryption?

A

This is where the same key is used for encrypting and decrypting the file

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

What is asymmetric encryption?

A

This is where a public key is used to encrypt files and a private key is used to decrypt

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

What is hashing?

A

The act of turning an input (key) into a fixed size output (hash)

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

What is a collision?

A

When two inputs are hashed to the same value

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

What are the characteristics of a good hash function?

A
  • low chance of collisions
  • hash smaller than key
  • quick to calculate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly