Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Cryptography / Public-key cryptography

Hash Functions and Signatures

Fixed-size fingerprints of arbitrary data and the properties that make them trustworthy.

3 min read · 2 sections · 1 checks

Contents 3 sections
  1. §1What a hash must do
  2. §2Uses
  3. ?Check yourself

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 hh, it is infeasible to find mm with H(m)=hH(m) = h.
  • Second-preimage resistance: given mm, it is infeasible to find another m′m' with the same hash.
  • Collision resistance: it is infeasible to find any two messages with the same hash.

§2Uses

Check yourself

  1. Q1
    About how many tries find a collision in a 64-bit hash?