{
  "id": "sha256hash",
  "kind": "datatype",
  "status": "stable",
  "name": "SHA-256 hash",
  "doc": "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": "hash",
  "aliases": [
    "sha256"
  ],
  "children": [
    "authentihash",
    "bitcoin_txid"
  ],
  "is_pii": false,
  "categories": [
    "cryptography",
    "software"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[0-9a-fA-F]{64}$",
  "examples": [
    {
      "value": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
      "description": "SHA-256 hash of the empty string",
      "valid": true
    },
    {
      "value": "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad",
      "description": "SHA-256 hash of the string 'abc'",
      "valid": true
    },
    {
      "value": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b85",
      "description": "one hex digit short (63 instead of 64)",
      "valid": false
    }
  ],
  "mappings": {
    "autotype": "sha256",
    "fta": "HASH.SHA256_HEX",
    "schema_org": "sha256"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/SHA-2"
    },
    {
      "type": "doc",
      "url": "https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf"
    }
  ],
  "detected_by": {
    "tools": [
      "autotype",
      "fta",
      "metacrafter",
      "metacrafterpro"
    ],
    "metacrafter_rules": [
      {
        "rule": "sha256hash",
        "type": "data",
        "match": "ppr",
        "file": "basic/crypto.yaml"
      },
      {
        "rule": "sha256hash_by_field",
        "type": "field",
        "match": "text",
        "file": "basic/crypto.yaml"
      },
      {
        "rule": "sha256hashbyvalue",
        "type": "data",
        "match": "ppr",
        "file": "common/software.yaml",
        "key": "sha256"
      }
    ]
  },
  "quality": {
    "score": 95,
    "missing": [
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/cryptography/sha256hash.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/cryptography/sha256hash.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/cryptography/sha256hash.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/sha256hash",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/sha256hash.json"
  }
}