V VPN Glossaryvpnglossary.com
163 entries · 2026 ed.
№ 125 / 163 S Encryption

SHA-2 (SHA-256 / SHA-512)

SHA-2 is a family of cryptographic hash functions published by NIST, including SHA-256 and SHA-512, that turn any input into a fixed-length fingerprint.

§ 01

Definition

SHA-2 was designed by the US National Security Agency and published by NIST in 2001; the current specification is FIPS 180-4. It replaced SHA-1, which researchers showed to be practically breakable with a public collision in 2017.

§ 02

How it works

A hash function processes data in blocks and outputs a digest (256 bits for SHA-256). Changing one character of the input produces a completely different digest, and it is infeasible to find two inputs with the same output. VPNs use SHA-2 inside HMAC, certificate signatures and key derivation.

§ 03

Why it matters

When a VPN lists 'SHA-256' or 'SHA-384', it is naming the hash used for integrity and certificates. Any setup still relying on MD5 or SHA-1 for signatures should be treated as outdated.

/ Sources

  1. NIST FIPS 180-4: Secure Hash Standard
  2. SHAttered: first SHA-1 collision (2017)