Week 1 - Cryptographic Hash Functions Flashcards
What is are Cryptographic Primitives?
low-level constructs used to build large cryptographic protocols,
What is a Cryptographic Hash Function?
Takes data of any length but produces a fixed length output of alphanumeric values (hash value)
e.g
Hello = 73GFW
World = 45AED
What is a deterministic cryptographic hash?
properties of a cryptographic hash function
Deterministic - same input always produces the same hash value when the same hash function is used.
What is pre-image resistance in cryptographic hashes?
properties of a cryptographic hash function
Pre-image resistance - impossible to determine original input from hash value
What is second pre-image resistance in cryptographic hashes?
properties of a cryptographic hash function
impossible to find a different input that produces the same hash value with a Given Input
What is collision-resistant resistance in cryptographic hashes?
properties of a cryptographic hash function
impossible to find two different inputs that produce the same hash value.
What is the purpose of cryptographic hash functions?
to verify integrity
e.g
checking a downloaded file’s hash value against a trusted source ensures the file hasn’t been tampered with.
What are two limitations of cryptographic hash functions?
- Very small or predictable message cannot be eaningfully hashed
- The origin of the hash function must be trusted to ensure integrity.