# Universal one-way hash function

**Universal one-way hash function** (**UOWHF**, often pronounced “woof”), is a type of universal hash function of particular importance to cryptography. UOWHF’s are proposed as an alternative to collision-resistant hash functions (CRHFs). CRHFs have a strong collision-resistance property: that it is hard, given randomly chosen hash function parameters, to find any collision of the hash function. In contrast, UOWHFs require that it be hard to find a collision where one is chosen independently of the hash function parameters. The primitive was suggested by and and is also known as “target collision resistant” hash functions; it was employed to construct general digital signature schemes without trapdoor functions, and also within chosen-ciphertext secure public key encryption schemes.

The UOWHF family contains a finite number of hash functions with each having the same probability of being used.

## Contents

## Definition

The security property of a UOWHF is as follows. Let be an algorithm that operates in two phases:

- Initially, receives no input (or, just a security parameter) and chooses a value .
- A hash function is chosen randomly from the family. then receives and must output such that .

Then for all polynomial-time the probability that succeeds is negligible.

## Applications

UOWHFs are thought to be less computationally expensive than CRHFs, and are most often used for efficiency purposes in schemes where the choice of the hash function happens at some stage of execution, rather than beforehand. For instance, the uses a UOWHF as part of the validity check in its ciphertexts.