<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hash on Le Site de François</title><link>https://lesitedefrancois.be/en/tags/hash/</link><description>Recent content in Hash on Le Site de François</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 François</copyright><atom:link href="https://lesitedefrancois.be/en/tags/hash/index.xml" rel="self" type="application/rss+xml"/><item><title>SHA (Secure Hash Algorithm)</title><link>https://lesitedefrancois.be/en/security/sha/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/security/sha/</guid><description>&lt;p&gt;&lt;strong&gt;SHA (Secure Hash Algorithm)&lt;/strong&gt; is the name given to a series of cryptographic hash function families standardised by NIST under FIPS 180 and FIPS 202. Three generations exist with fundamentally different design lineages. &lt;strong&gt;SHA-1&lt;/strong&gt; (1995, FIPS 180-1) produces a 160-bit digest and is &lt;strong&gt;fully broken for collision resistance&lt;/strong&gt;: the SHAttered attack (Google and CWI Amsterdam, 2017) produced a chosen-prefix collision — two different PDF files with identical SHA-1 hashes — using approximately 9.2 × 10^18 SHA-1 operations, within practical reach of well-resourced attackers. SHA-1 must not be used for any security purpose; it persists only in legacy Git object identifiers (SHA-1 is being phased out in Git&amp;rsquo;s object store in favour of SHA-256 under the &lt;code&gt;sha256&lt;/code&gt; object format) and in TOTP&amp;rsquo;s HMAC-SHA-1 inner construction (where collision resistance is not the relevant security property, but migration to SHA-256 variants is still recommended). &lt;strong&gt;SHA-2&lt;/strong&gt; (2001, FIPS 180-2 and subsequent revisions) is the Merkle-Damgård family that includes SHA-224, SHA-256, SHA-384, SHA-512, SHA-512/224, and SHA-512/256. SHA-256 and SHA-512 are the two variants in universal production use; the others serve niche roles. &lt;strong&gt;SHA-3&lt;/strong&gt; (2015, FIPS 202) is the Keccak sponge construction — structurally independent of SHA-2 — providing algorithm diversity and including fixed-output variants (SHA3-256, SHA3-512) and extendable output functions (SHAKE128, SHAKE256).&lt;/p&gt;</description></item></channel></rss>