1.3.1 Compression, Encryption and Hashing Flashcards
1
Q
lossy compression
A
- permanently removes data
- so not able to recreate original file
- reduced quality
- smaller file size
- less buffering
2
Q
lossless compression
A
- rewrites original data in a more efficient format
- able to recreate the original file
- keeps original quality
- more buffering
3
Q
run length encoding
A
- reliance on consecutive pieces of data/characters which are the same/repeated
- if there is no repetition => less reduction in file size
4
Q
dictionary encoding
A
- frequently occurring pieces of data/groups of characters replaced w/ indexes
- dictionary is used => see which indexes match with groups of characters
5
Q
encryption
A
- keeps data secure when being transmitted
- data is scrambles so that if it is intercepted, it can’t be understood
6
Q
asymmetric encryption
A
- 2 different keys: public key for encryption, private key for decryption
- algorithms involve more processing than symmetric algorithms
- often used when exchanging data
7
Q
symmetric encryption
A
- the same private key for encryption/decryption
- if the key is intercepted during the key exchange, then communications can be intercepted and decrypted
- best suited when the same person is encrypting/decrypting eg. backing up data
8
Q
hashing
A
an input/key is turned into a fixed size value