4B: Encryption Flashcards
what is encryption
the process of scrambling data into a form that cannot be understood by another human unless they have the decrypt key
what is decryption
the process of unscrambling data
what is the original form of data known as
plaintext
what is the encrypted data known as
ciphertext
explain what the caeser cipher is
substitutes each letter for another character by simply shifting the letters fowards or backwards
why is the caeser cipher easy to crack
because the shift has to be a number between 1 and 25
explain the vernam cipher
- plaintext is combined with a one time pad (random sequence of letters) to produce the cipher text
- it is unbreakable
explain how you encrypt the word “CAT” using the one time pad “GTS”
- get the ASCII for plain text
- get ASCII for one time pad
- XOR the CG, AT AND TS
- ASCII obtained is ciphertext
what is meant by computationally secure
if the cipher cannot be broken using current technology in a timeframe that would be useful
explain run length encoding
- 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
explain dictionary based compression
- 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