{
  "id": "sha256crypt_hash",
  "kind": "datatype",
  "status": "draft",
  "name": "SHA-256-crypt password hash",
  "doc": "Password hash of the SHA-256-based crypt scheme by Ulrich Drepper, in Modular Crypt Format: $5$, an optional rounds=N$ (5000 rounds by default), a salt of up to 16 characters, $ and 43 characters of crypt Base64.",
  "is_pii": false,
  "categories": [
    "secrets",
    "cryptography"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\$5\\$(?:rounds=[1-9][0-9]+\\$)?[^$:\\n]{1,16}\\$[./0-9A-Za-z]{43}$",
  "examples": [
    {
      "value": "$5$saltstring$5B8vYYiY.CVt1RlTTf8KbXBH3hsxY/GNooZaBBGWEc5",
      "description": "Test vector of the specification: Hello world! with the salt saltstring",
      "valid": true
    },
    {
      "value": "$5$rounds=10000$saltstringsaltst$3xv.VbSHBb41AL9AvLeujZkZRBAwqFMz2.opqey6IcA",
      "description": "Test vector of the specification with 10000 rounds",
      "valid": true
    },
    {
      "value": "$6$saltstring$svn8UoSVapNtMuq1ukKS4tPQd8iKwSMHWjl/O817G3uBnIFNjnQJuesI68u4OTLiBFdcbYEdFCoEOfaS35inz1",
      "description": "SHA-512-crypt hash",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.akkadia.org/drepper/SHA-crypt.txt"
    },
    {
      "type": "doc",
      "url": "https://man.archlinux.org/man/crypt.5"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/sha256crypt_hash.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/sha256crypt_hash.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/sha256crypt_hash.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/sha256crypt_hash",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/sha256crypt_hash.json"
  }
}