Source: wikibot/preimage-attack
= Preimage attack
{wiki=Preimage_attack}
A preimage attack is a type of cryptographic attack that targets hash functions. In this context, a preimage attack aims to find an input that hashes to a specific output. To break it down further: 1. **Hash Functions**: These are algorithms that take an input (or "message") and produce a fixed-size string of bytes—typically a digest that appears random.