Preimage attack
Attack model against cryptographic hash functions
In cryptography, a preimage attack on cryptographic hash functions tries to find a message that has a specific hash value. A cryptographic hash function should resist attacks on its preimage (set of possible inputs).
Nº Q1187426 ★
Common · Knowledge
Preimage attack
Attack model against cryptographic hash functions
In cryptography, a preimage attack on cryptographic hash functions tries to find a message that has a specific hash value. A cryptographic hash function should resist attacks on its preimage (set of possible inputs).
From Wikipedia
In cryptography, a preimage attack on cryptographic hash functions tries to find a message that has a specific hash value. A cryptographic hash function should resist attacks on its preimage (set of possible inputs). In the context of attack, there are two types of preimage resistance: preimage resistance: for essentially all pre-specified outputs, it is computationally infeasible to find any input that hashes to that output; i.e., given y, it is difficult to find an x such that h(x) = y. second-preimage resistance: for a specified input, it is computationally infeasible to find another input which produces the same output; i.e., given x, it is difficult to find a second input x′ ≠ x such that h(x) = h(x′). These can be compared with a collision resistance, in which it is computationally infeasible to find any two distinct inputs x, x′ that hash to the same output; i.e., such that h(x) = h(x′). Collision resistance implies second-preimage resistance, but does not guarantee preimage resistance. However, under certain assumptions of the range of the hash function, collision resistance does imply preimage resistance (by a provisional implication). Conversely, a second-preimage attack implies a collision attack (trivially, since, in addition to x′, x is already known right from the start). Via the provisional implication, a preimage attack will also imply a second-preimage attack, which then also extends to a collision attack.
Text: Wikipédia, CC BY-SA 4.0. ·
Related cards
-
C
Collision attack
Cryptographic attack
Nº Q389463 ★
Not listed
-
C
Collision resistance
Property of cryptographic hash functions
Nº Q1779448 ★
Not listed
-
K
Known-plaintext attack
Cryptanalytic attack model where the attacker has access to both the plaintext and its encrypted version
Nº Q700583 ★
Not listed
-
C
Ciphertext-only attack
Attack model for cryptanalysis where the attacker has access to a set of ciphertexts
Nº Q2734040 ★
Not listed
-
B
Birthday attack
Type of cryptographic attack
Nº Q615485 ★★★
Not listed
-
D
Differential cryptanalysis
General form of cryptanalysis applicable primarily to block ciphers, but also to stream ciphers and cryptographic hash functions
Nº Q1224471 ★
Not listed