Exchanging Data (Do not use) Flashcards
What is RLE and how does it work?
Run Length Encoding. Records a colour value and how many times it repeats.
How does dictionary based compression work?
Each unique word is recorded in a dictionary and assigned a number value. The file is then compressed by using that dictionary to replace the text with the relevant numbers. When the compressed file is sent the dictionary is sent with it.
What is the Vernam cipher and how does it work?
The only cipher proven to be unbreakable. The encryption key must be longer than the plaintext, be truly random and can only be used once. The key can only be exchanged in person and must be destroyed after it is used.
How does symmetric encryption work?
The same key is used to decrypt and encrypt the data. This means the key has to be sent to the same place as the data, which makes it easy to intercept.
How does Asymmetric encryption work?
Everybody has two keys, a public key and a private key. A key can be used to encrypt the data, but the same key can’t decrypt it. When data is being sent the sender encrypts the data with the receipient’s public key, so that they can then decrypt it with their private key.
What is hashing?
Turns a string into an unreadable format so that you can not get the orginal string back. Used for storing passwords.
How does a digital signiture work?
By encrypting a message with your private key, the person you are sending it to knows that it must have come from you as the message can only by decrypted with your public key.
What is a digital certificate?
Issued by official certificate authorities and verifies the trustworthiness of a message sender of a website.
What is a flat file database?
A database that is made up of a single table.
What is a primary key?
A unique identifier for each record in a database
What is a secondary key?
A field that is indexed in order to make the database faster to search.
What is a foreign Key?
A primary key in another table that is used to link two tables together
What is a relational database?
Database made up of multiple tables that are linked together through relationships.
What is the first normal form?
There are no repeating attributes.
What is the second normal form?
The table must already be in first normal form and the attributes depend entirely on the primary key.