Lecture 3 - Hashing Flashcards
What is a hash?
Hash functions take a long input and produce a short fixed length output called a hash value or a digest
Hash functions protect what?
Data integrity
Why do we need hashing?
- Used for Digital signatures
- For file integrity verification
- Protection of digital assets
- Credit card transactions
- Software updates
What is meant by a one-way hash function?
- It should be practically impossible to find the original message.
- Given some message, we shouldn’t be able to find another message that produces the same hash.
What is the “Collision-Resistance” property?
It should be difficult to find two messages with the same hash output.
What type of attacks can be used against hash functions?
- Collision attack
- Length extension attack
Who developed MD hash functions?
Ron Rivest
SHA-1 is a ____-bit hash function
SHA-1 is a 160-bit hash function
Is SHA-1 secure or insecure?
Insecure - broken in 2005
What are rainbow tables?
A pre-generated hash values of popular passwords and or variants
List 5 Applications of One-Way Hash Functions?
- Integrity Verification
- Password Verification
- Trusted Timestamping
- Message Authentication Code (MAC)
- Blockchain and Bitcoins