4B: Encryption Flashcards

1
Q

what is encryption

A

the process of scrambling data into a form that cannot be understood by another human unless they have the decrypt key

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

what is decryption

A

the process of unscrambling data

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

what is the original form of data known as

A

plaintext

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
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
5
Q

explain what the caeser cipher is

A

substitutes each letter for another character by simply shifting the letters fowards or backwards

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

why is the caeser cipher easy to crack

A

because the shift has to be a number between 1 and 25

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

explain the vernam cipher

A
  • plaintext is combined with a one time pad (random sequence of letters) to produce the cipher text
  • it is unbreakable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

explain how you encrypt the word “CAT” using the one time pad “GTS”

A
  • get the ASCII for plain text
  • get ASCII for one time pad
  • XOR the CG, AT AND TS
  • ASCII obtained is ciphertext
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is meant by computationally secure

A

if the cipher cannot be broken using current technology in a timeframe that would be useful

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

explain run length encoding

A
  • it identifies sequences of identical data
  • represents these as one data value, a count of how many such values are in the sequence
  • eg, if there was 5 green next to eachother it would be 5G
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

explain dictionary based compression

A
  • length strings of symbols are represented by single tokens
  • a table is formed using the tokens as keys
  • the strings of symbols are used as the entires
How well did you know this?
1
Not at all
2
3
4
5
Perfectly