Lesson 5 - Cryptographic Concepts Flashcards
What is the difference between stream and block ciphers?
A block cipher is padded to the correct size if there is not enough data in the plaintext. In a stream cipher, the plaintext is not divided into equal-size blocks.
What are the key differences between symmetric and asymmetric cryptographic ciphers?
Symmetric encryption is used for confidentiality and uses the same key for encryption and decryption. Asymmetric is inefficient for encrypting or transporting large amounts of data.
Applies an initialization vector to the first plaintext block to ensure that the key produces a unique ciphertext from any given plaintext.
Cipher Block Chaining
Single hash function, symmetric cipher, or asymmetric cipher
Cryptographic Primitive
What is salt?
Random or pseudo-random number or string using in conjunction with hashing password values.
(salt + password) * SHA = hash
Which two cryptographic functions can be combined to authenticate a sender and prove the integrity of a message?
Public key cryptography and hashing