Metraipolis › archive › dc_5351aee59825

Cryptographic hash function — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Cryptographic_hash_function
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-05T22:55:54.727Z
SHA-256 of the archived text
194e77d1d3280892d1f67406bc8a47c1dcf901f4cfb96d6b9a8b38129e69b10e
Stable URL of this page
https://metraipolis.com/documento/dc_5351aee59825

How to cite

Cryptographic hash function — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Cryptographic_hash_function (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_5351aee59825 (Metraipolis archive dc_5351aee59825, sha256 194e77d1d3280892d1f67406bc8a47c1dcf901f4cfb96d6b9a8b38129e69b10e)
BibTeX
@misc{dc5351aee59825,
  title = {Cryptographic hash function — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Cryptographic_hash_function},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_5351aee59825; sha256 194e77d1d3280892d1f67406bc8a47c1dcf901f4cfb96d6b9a8b38129e69b10e},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Cryptographic_hash_function. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

A cryptographic hash function (CHF) is a hash algorithm (a map of an arbitrary binary string to a binary string with a fixed size of n {\displaystyle n} bits) that has special properties desirable for cryptographic applications. Hashing is a one-directional mathematical operation which is quick to calculate, yet hard to reverse. Common uses include password storage and digital signatures. Even a small change in the input results in a very different hash, meaning that it functions as an efficient and consistent way to check if two copies of data or software match. Typically, the operation works on a block of input data; the hash output is then hashed with the next block, creating a new hash reflecting everything to that point; this action is repeated until the hash reflects everything through the final block. More technically: the probability of a particular n {\displaystyle n} -bit output result (hash value) for a random input string ("message") is 2 − n {\displaystyle 2^{-n}} (as for any good hash), so the hash value can be used as a representative of the message; finding an input string that matches a given hash value (a pre-image) is infeasible, assuming all input strings are equally likely. The resistance to such search is quantified as security strength: a cryptographic hash with n {\displaystyle n} bits of hash value is expected to have a preimage resistance strength of n {\displaystyle n} bits, unless the space of possible input values is significantly smaller than 2 n {\displaystyle 2^{n}} (a practical example can be found in § Attacks on hashed passwords); a second preimage resistance strength, with the same expectations, refers to a similar problem of finding a second message that matches the given hash value when one message is already known; finding any pair of different messages that yield the same hash value (a collision) is also infeasible: a cryptographic hash is expected to have a collision resistance strength of n / 2 {\displaystyle n/2} bits (lower because of the birthday paradox). Cryptographic hash functions have many information-security applications, notably in digital signatures, message authentication codes (MACs), and other forms of authentication. They can also be used as ordinary hash functions, to index data in hash tables, for fingerprinting, to detect duplicate data or uniquely identify files, and as checksums to detect accidental data corruption. Indeed, in information-security contexts, cryptographic hash values are sometimes called (digital) fingerprints, checksums, (message) digests, or just hash values, even though all these terms stand for more general functions with rather different properties and purposes. Non-cryptographic hash functions are used in hash tables and to detect accidental errors; their constructions frequently provide no resistance to a deliberate attack. For example, a denial-of-service attack on hash tables is possible if the collisions are easy to find, as in the case of linear cyclic redun

Tema degli esploratori: fiducia digitale e crittografia (deposito sistematico; categoria «Cryptographic hash functions»).
Fonte: Wikipedia in inglese, voce «Cryptographic hash function» — https://en.wikipedia.org/wiki/Cryptographic_hash_function
Wikidata Q477202 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q477202
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Cryptographic_hash_function?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1376147393, consultata il 2026-10-05T22:47:19.113Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 6b5dfa6871a56dd4f02cabecbda658a25dee1fe353a6a35dabece067c337aad6