zzDomain 3 - Cryptographic concepts | Crypto Attacks | PKI Infrastructure Flashcards
Symmetric Encryption - Strengths
Speed, and strength per bit of key
Symmetric Encryption - Weakness
Key must be shared securely
Symmetric Encryption - Stream Cipher
Each bit is independently encrypted
Symmetric Encryption - Block cipher
Blocks of data are encrypted
Initialization Vector
Symmetric Encryption
Encryption step. Used on Symmetric ciphers to ensure that the first block of data is random
Cipher Block Chaining (feedback in stream modes)
Uses the previous ciphertext from the previous block, and uses it to XOR’ the next block.
First block uses an Initialization Vector.
DES Encryption type
Symmetric
DES
Data Encryption Standard
DES Encryption dates
1976 US Fed standard
DES Encryption, who designed
IBM, based on older lucifer symmetric cipher
DES Encryption, block size
64 bit
DES Encryption, key size
56 bit
DES Modes
5 modes: Electronic Code Book - ECB Cipher Block Chaining - CBC Cipher Feedback - CFB Output Feedback - OFB Counter Mode - CTR
DES ECB
Electronic Code Book
No initialization vector
susceptible to replay attacks.
DES CBC
Cipher Block Chaining
- Block Mode
- XORs previous block as seed to next block
- First encrypted block is IV for next.
- Errors propogate. An error in one block propagates everywhere
DES CFB
Cipher Feedback
- Stream
- Uses feedback to destroy patterns
- Uses IV
- Errors propogate
DES - OFB
Output Feedback
- XORs previous block as seed to next block
- Stream cipher
- Uses subkey before it is XORed to plaintext
- Subkey is not affected by Encryption errors
- errors don’t propagate
DES CTR
Counter
- Uses a counter
- Errors don’t propogate
Double DES
Repeat the process twice
Triple DES
Applies DES three times per block before moving to next block
2TDES
Two triple DES. Uses 1 key to encrypt, another to ‘decrypt’ and again key 1 to encrypt.
Key length of 112 bits
3TDES
Strongest form, three triple des
168 bits in key length
IDEA Encryption/Cipher Type
International Data Encryption Algorithm.
Symmetric Block Cipher
IDEA Key Size
128