---
title: "What is SHA-256?"
term: "SHA-256"
description: "SHA-256 is a cryptographic hash function from the SHA-2 family that turns any input into a fixed 256-bit value, or digest, which changes completely if the input changes even slightly."
url: "https://glossary.io/sha-256/"
published: "2026-11-22T20:44:16.960Z"
updated: "2026-11-22T20:44:16.960Z"
topics:
  - "Privacy and security"
wikidata: "https://www.wikidata.org/wiki/Q110651361"
---

# What is SHA-256?

**Definition:** SHA-256 is a cryptographic hash function from the SHA-2 family that turns any input into a fixed 256-bit value, or digest, which changes completely if the input changes even slightly.

SHA-256 was designed by the US National Security Agency and published in 2001 by the [National Institute of Standards and Technology](https://glossary.io/nist/) as part of the SHA-2 standard. Like any secure [hash function](https://glossary.io/hash-function/), it works one way: computing a digest from data is easy, but recovering the data from the digest, or finding two inputs with the same digest, is practically impossible.

SHA-256 is used throughout the web. It helps secure HTTPS connections and [TLS certificates](https://glossary.io/tls-certificate/), verifies that downloaded files and software packages haven't been altered, powers Subresource Integrity checks for scripts loaded from CDNs and underpins Bitcoin mining. Privacy-focused analytics tools also use hashing to turn visitor details into anonymous identifiers. For storing passwords, though, a fast hash like SHA-256 should be replaced by a slow, salted algorithm designed for that purpose.

## SHA-256 resources

- [SHA-2 on Wikipedia](https://en.wikipedia.org/wiki/SHA-2)

## Related terms

- [Hash function](https://glossary.io/hash-function/)
- [NIST](https://glossary.io/nist/)
- [TLS certificate](https://glossary.io/tls-certificate/)

**Topic:** [Privacy and security](https://glossary.io/topics/privacy-security/)

## Cite this definition

- APA: What is SHA-256? (2026, November 22). Glossary. https://glossary.io/sha-256/
- MLA: “What Is SHA-256?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/sha-256/.
- Chicago: “What Is SHA-256?” Glossary. Coywolf. November 22, 2026. https://glossary.io/sha-256/.

Published November 22, 2026.
