{
  "id": "sha512hash",
  "kind": "datatype",
  "status": "stable",
  "name": "SHA-512 hash",
  "doc": "Digest of the SHA-512 hash function (SHA-2 family, 512 bits). It is written as 128 hexadecimal digits. Other 512-bit digests (SHA3-512, Keccak-512, BLAKE2b-512 and Streebog-512) have the same length, so the value alone does not tell them apart: use the field name or context.",
  "parent": "hash",
  "is_pii": false,
  "categories": [
    "cryptography"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[0-9a-fA-F]{128}$",
  "examples": [
    {
      "value": "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e",
      "description": "SHA-512 hash of the empty string",
      "valid": true
    },
    {
      "value": "ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f",
      "description": "SHA-512 hash of the string 'abc'",
      "valid": true
    },
    {
      "value": "cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3",
      "description": "one hex digit short (127 instead of 128)",
      "valid": false
    }
  ],
  "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": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "sha512hash",
        "type": "data",
        "match": "ppr",
        "file": "basic/crypto.yaml"
      },
      {
        "rule": "sha512hash_by_field",
        "type": "field",
        "match": "text",
        "file": "basic/crypto.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/cryptography/sha512hash.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/cryptography/sha512hash.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/cryptography/sha512hash.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/sha512hash",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/sha512hash.json"
  }
}