Complexity, Encryption and Hashing Flashcards
What name is given to the public and private keys used in asymmetric encryption?
Key pair
Name two types of compression.
Lossless and Lossless
In which type of compression is the quality of a file not degraded?
Lossless
What is purpose of encryption?
To keep data secure during transmission.
Name one type of lossless compression
- Run length encoding
- Dictionary encoding
In which type of encryption do the sender and receiver share the same private key?
Symmetric keys
How many keys are used in asymmetric encryption?
Two - one public and one private
If person A wanted to send a message to person B using asymmetric encryption, which key should they use to encrypt the message?
B’s public key
- a message encrypted with B’s public key can only be decrypted with B’d private key (only B has access to it).
What is said to have occurred when two keys map to the same hash?
A collision
In which kind of lossless compression are repeated characters replaced by one occurrance and the number of times to repeat the character.
Run length encoding
What name is given to the process of turning an input into a fixed size value?
Hashing
Which data structure uses hashing to store information with constant lookup time?
Hash table
What is meant by compression?
The process of reducing the space required to store a file.
Name two properties that a hashing algorithm should have.
- Low chance of collision
- Quick to calculate
- Output smaller than input