1.3.1 Compression, Encryption, Hashing Flashcards
What is compression
Reducing the size of a file by identifying repetitions of data
What are the attributes of Lossy Compression
Reduces File size,
Permanently deletes some data,
Useful for compressing image files
What are the attributes of Lossless Compression
Reduces File size,
Patterns in data are summarised in a shorter file format,
No data deleted,
Useful for compressing text documents
What’s dictionary compression
Splits files up into repeated data patterns,
Stores these in a dictionary
What’s a dictionary
A data structure that allow you to store key-value pairs. Each word can be stored as an ASCII-code of 8 bits
What’s encryption
The process of converting a message from plain text to cipher text,
Requires a key
Prevents data from being understood if intercepted..
What’s decryption
Process of converting cipher text back into plain text requires a key
What’s a message
Data that will be communicated between 2 parties
What’s plaintext
A message in an easily human readable form
What’s cipher text
An encrypted message
What’s a cipher
A set of instructions (algorithm) for encrypting plain text
What’s authentication
Proving the identity of the sender
What’s symmetric encryption
The same private key is used to encrypt and decrypt,
The key must be shared between the sender and receiver,
Key can be easily intercepted when sharing
What’s Asymmetric Encryption
Two different ( yet mathematically linked) keys are used to encrypt and decrypt,
Keys don’t need to be shared
Public key used to encrypt
Private key used to decrypt
Why do most systems use asymmetric encryption
To generate a symmetric key, securing limited communication sessions