Compression Encryption and Hashing Flashcards

(21 cards)

1
Q

asymmetric encryption definition

A

an encryption technique where a public key available to everyone is used to encrypt the data, and the data is decrypted by the paired private key known only by the recipient

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

dictionary coding definition

A

a type of lossless compression where text is searched for entries that match the entries in a dictionary

entries are substituted by a unique code which can then be translated

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

hashing definition

A

a one-way transformation of data into an abbreviated form called a has value

the hash value is used to validate login credentials like passwords or PINs without revealing the original data to hackers

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

lossless compression definition

A

a compression algorithm that retains all the data in the file by only storing the instructions needed to reconstruct the original file

no data is lost

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

lossy compression

A

a compression algorithm that removes non-essential data from a file leading to a noticeable decrease in accuracy of the data

data lost is non-recoverable

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

run-length encoding

A

a type of lossless compression where repeated occurrences of the same data (like several pixels of the same colour in an image) are stored as a single data value with their counts

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

symmetric encryption

A

an encryption technique where the same key is used to encrypt and decrypt data. a copy of the key must be transferred between both parties

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

what name is given to the public and private keys used in asymmetric encryption

A

key pair

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

name the two categories of compression

A

lossy and lossless

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

in which type of compression is the quality of a file not degraded

A

lossless

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

what is the purpose of encryption

A

to keep data secure during transmission

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

name one type of lossless compression

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

in which form of encryption do the sender and receiver share the same private key

A

symmetric encryption

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

how many keys are used in asymmetric encryption

A

two (one public and one private)

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

if person A wants to send a message to person B using asymmetric encryption, which key should they use to encrypt the message?

A: A’s public key
B: A’s private key
C: B’s public key
D: B’s private key

A

C: B’s public key

a message encrypted with B’s public key can only be decrypted with B’s private key, which only B has access to

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

what is said to have occurred when two key map to the same hash

17
Q

in which kind of lossless compression are repeated characters replaced by one occurrence and the number of times to repeat the character

A

run length encoding

18
Q

what name is given to the process of turning an input into a fixed size value

19
Q

what data structure uses hashing to store information with constant lookup time

20
Q

what is meant by compression

A

the process of reducing the space required to store a file

21
Q

name two properties that a hashing algorithm should have

A
  • low chance of collision
  • quick to calculate
  • output smaller than input