Cryptography / Public-key cryptography
Hash Functions and Signatures
Fixed-size fingerprints of arbitrary data and the properties that make them trustworthy.
Contents 3 sections
By the end you can
- List the security properties of cryptographic hash functions
- Estimate collision difficulty with the birthday bound
- Describe how hashes are used in signatures and passwords
Helps to know: RSA
§1What a hash must do
- Preimage resistance: given , it is infeasible to find with .
- Second-preimage resistance: given , it is infeasible to find another with the same hash.
- Collision resistance: it is infeasible to find any two messages with the same hash.
§2Uses
Check yourself
- Q1About how many tries find a collision in a 64-bit hash?