1.3.1 Compression, Encryption And Hashing Flashcards
Lossy compression
Removes non essential information. E.g reducing pixels in a image
Lossless compression
Reduces file size but retains all data by recording patterns in data
Length encoding
Looks for blocks of repeated data
Dictionary coding
Using short code words to represent longer pieces of data
Symmetric encryption
Uses a secret key to encrypt and decrypt data
Asymmetric encryption
Uses two separate but related keys. A public and private key.
The public key is used to encrypt data sent to you and the private key, that only you know, is used to decrypt the data
Hashing
A technique that allows you to ‘map’ data of variable length into a fixed length data value (a large number)