4b - Encryption Flashcards
(9 cards)
What is encryption?
Using an algorithm to convert a message into a form that is not understandable without the key to decrypt it
Why is data often encrypted when transmitted over a network?
To prevent unauthorised users understanding any intercepted data and to prevent the message being altered
What is the purpose of a checksum?
To check if the contents of the packet/data have been corrupted/changed during transmission
How is the checksum’s value determined?
Calculated from the payload/data/contents of the packet.
What does it mean for a cipher to be described as being computationally secure?
The cipher cannot be cracked by any known method in a reasonable/practical/useful amount of time.
What are two conditions for the Vernam cipher to offer perfect security?
- The key must be at least as long as the data to be encrypted/plaintext
- The key must not be reused and must be truly random
How could a text be compressed using a dictionary-based method?
A dictionary is built that maps sequences of characters/substrings/words in the text onto tokens/values/numbers
Why is dictionary-based compression not very effective for small amounts of text?
For small pieces of text there is little repetition, making the compressed text similar in size to the original.
What principle does RLE use to compress a file?
- Identifies sequences of identical data values/color pixels
- Represents these as one data value/pixel color together with a count of how many such values are in the sequence.