LOGBOOK

HELP

Quiz Entry - updated: 2026.07.14

What are the three security properties that a cryptographic hash function must satisfy?

Preimage resistance, second preimage resistance (weak collision resistance), and collision resistance (strong collision resistance).

The three security properties: what the attacker is given vs must find

* The three properties differ by what the attacker is handed: a target hash (preimage), one document (2nd-preimage), or nothing at all (collision). *

1. Preimage resistance (Urbildresistenz): Given a hash value $y \in \{0,1\}^n$, it's infeasible to find any $x$ such that $h(x) = y$.

  • This is the defining property of a cryptographic hash function.

2. Second preimage resistance (weak collision resistance): Given $x$ and its hash $h(x)$, it's infeasible to find a different $x' \neq x$ such that $h(x') = h(x)$.

  • The attacker knows one document and tries to forge another with the same hash.

3. Collision resistance (strong collision resistance): It's infeasible to find any two values $x \neq x'$ such that $h(x) = h(x')$.

  • The attacker has freedom to choose both documents.

Additional required (non-security) properties:

  • Deterministic: Same input always produces same output
  • Efficient: Computing the hash must be fast

Go deeper:

From Quiz: KRYPTOG / One-Way and Hash Functions | Updated: Jul 14, 2026