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- Schema.org
sha256- Former IDs
sha256- Quality
- 95/100 · missing: translation
- Metacrafter rules
- 3 rules (1 by field name, 2 by value)
sha256hashdata, basic/crypto.yamlsha256hash_by_fieldfield, basic/crypto.yamlsha256hashbyvaluedata, common/software.yaml, key sha256
- Supported by tools
- Auto-Type, FTA (Fast Text Analysis), metacrafter, metacrafterpro
Regular expression
^[0-9a-fA-F]{64}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| 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
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| authentihash | authentihash | 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) draft | cryptocurrency | global | Identifier of a Bitcoin transaction: the double SHA-256 hash of the serialized transaction without its witness data, written as 64... |
Sources
- wikipedia: https://en.wikipedia.org/wiki/SHA-2
- doc: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/sha256hash - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/cryptography/sha256hash.yamlon GitHub