Datatypes › Cryptographic identifiers

SHA-256 hash

ID sha256hash

DatatypeNot PIIidentifier

Digest of the SHA-256 hash function (SHA-2 family, 256 bits), widely used for file checksums, content addressing and digital signatures. It is written as 64 hexadecimal digits. Other 256-bit digests (SHA3-256, Keccak-256, BLAKE2b-256, BLAKE3 and Streebog-256) have the same length, so the value alone does not tell them apart: use the field name or context.

Parent datatype
Hash by field name (generic) hash
Categories
Cryptographic identifiers, Software development
Countries
Global (not tied to a country)
Languages
Common to most languages
AutoType benchmark
sha256
FTA
HASH.SHA256_HEX
MISP attribute type
sha256
Schema.org
sha256
Former IDs
sha256
Quality
95/100 · missing: translation
Metacrafter rules
3 rules (1 by field name, 2 by value)
Supported by tools
Auto-Type, FTA (Fast Text Analysis), metacrafter, Pydantic and pydantic-extra-types, validator.js

Regular expression

^[0-9a-fA-F]{64}$

Python re syntax.

Test a value

Examples

ValueDescription
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 SHA-256 hash of the empty string
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad SHA-256 hash of the string 'abc'
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85 invalid one hex digit short (63 instead of 64)

Child datatypes

IDNameCategoriesCountriesDescription
authentihash authentihash stable software global authentihash is a sha256 hash used by Microsoft to verify that the relevant sections of a PE image file have not been altered. This...
bitcoin_txid Bitcoin transaction ID (txid) cryptocurrency global Identifier of a Bitcoin transaction: the double SHA-256 hash of the serialized transaction without its witness data, written as 64...
permhash Permhash (permissions hash) software global Hash of the permissions that an Android app (APK or its AndroidManifest.xml) or a Chromium browser extension (CRX or its manifest.json)...

Sources

Use this record