Introduction to Encryption Flashcards
Define Encryption
The process of scrambling data in an attempt to deem it unreadable by unauthorised subjects.
Define Cryptography
The science of writing and ciphering information or messages in a way that attempts to deem them unreadable by anyone other than the intended recipients.
Define Steganography
The science of hiding information or messages within other messages. For example, hiding a message within an image.
Define Cryptanalysis
The science of analysing encrypted information or messages in an attempt to decrypt them.
Define Symmetric Encryption
All parties share a copy of an identical key which is used for both encryption and decryption.
What are advantages of Symmetric Encryption?
- Simple
- Fast
- Secure (if key length is long enough)
What are some disadvantages of Symmetric Encryption?
- If one key is obtained or broken, all subjects in communication are compromised.
- Distribution of keys adds a risk factor.
- Not scalable since key has to be distributed for every subject added to the communication network. Distributing 100 keys for 100 subjects is very risky and has a high overhead.
What is Asymmetric Encryption?
Also known as public key cryptography. All subjects involved in communication have a public and private key pair which are used to encrypt and decrypt messages and information.
What are the advantages of Asymmetric Encryption?
- Improves security since it removes the key distribution problem
- Scalable due to no need for key distribution.
What are some disadvantages of Asymmetric Encryption?
- Asymmetric encryption incurs more computational cost.
- More complex than symmetric encryption.
- Any subject can masquerade as any other subject (unless certification is used).
What is the diagram and formula for the encryption - decryption process?
Dk(Ek(PlainText)) = PlainText
For encryption define the following components: alphabet; message space; message; cipher text space; key space.
- Alphabet is a finite space that the message space is a subset of.
- Message space is a subset of the alphabet, and contains all possible messages.
- Message is a subset of the message space.
- Key space is the subset of keys that is being used for encryption / decryption.
Write the encryption function in notation. What type of function is it? What components map to each other?
Ee - Encryption function
Bijective function
Maps M to C
Write the decryption function in notation. What type of function is it? What components map to each other?
Dd - Decryption function
Bijective function
Maps C to M
Which 3 security principles does encryption satisfy?
Confidentiality, integrity and authentication through communication channels.