1.3.1 - compression, encryption and hashing Flashcards

4

1
Q

compression

A

The process of making a file smaller/ take up less storage.

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

lossy compression

A

When unrequired data is removed from a file. Loss of quality but significantly smaller file size

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

lossless compression

A

When data in a file is stored in a different format.

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

two types of lossless compression

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

run length encoding

A

Colour of pixel followed by number of pixels.

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

dictionary based compression

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

encryption

A

The transformation of data from one form to another to prevent an unauthorised third party from being able to understand it.

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

symmetric (private key) encryption

A

Uses the same key to encrypt and decrypt data. This means that the key must also be exchanged to the same
destination as the ciphertext, which can be intercepted.

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

asymmetric (public key) encryption

A
  • Uses 2 separate, but related keys.
  • Senders can use your public key to encrypt messages.
  • Only the recipient’s private key can decrypt this.
  • The message can be digitally ‘signed’ to authenticate the sender.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

hashing

A
  • A result generated by applying an algorithm to a value.
  • Usually fixed length or
    smaller output.
  • One-way
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

3 uses of hashing

A
  • storing passwords
  • searching a database
  • digital signatures
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

4 purposes of compression

A
  • reduce size of files
  • reduce download times
  • reduce storage requirements
  • make best use of bandwidth
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Caesar cipher

A

Replaces each letter of the alphabet with another letter, a fixed distance away from the original letter.

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

primary key

A

A field which which has a unique value for each record.

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

List 2 important features of a hashing algorithm. (2)

A
  • low chance of collision
  • smaller output than input
How well did you know this?
1
Not at all
2
3
4
5
Perfectly