{
  "id": "yescrypt_hash",
  "kind": "datatype",
  "status": "draft",
  "name": "yescrypt password hash",
  "doc": "Password hash of yescrypt, the scrypt-based scheme by Openwall that is the default in /etc/shadow on recent releases of Debian, Ubuntu and Fedora, in Modular Crypt Format: $y$, the encoded parameters (j9T for the common defaults), $, the salt, $ and 43 characters of crypt Base64.",
  "is_pii": false,
  "categories": [
    "secrets",
    "cryptography"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\$y\\$[./A-Za-z0-9]+\\$[./A-Za-z0-9]{0,86}\\$[./A-Za-z0-9]{43}$",
  "examples": [
    {
      "value": "$y$j9T$ZVLMh/5PZBLMgF5$/1rXWcrKaeN6YWKzR1LbhwrY1sBgM9R1a4daQyX/.z/",
      "description": "Hash of the word \"example\" with the salt examplesalt and the default parameters",
      "valid": true
    },
    {
      "value": "$6$saltstring$svn8UoSVapNtMuq1ukKS4tPQd8iKwSMHWjl/O817G3uBnIFNjnQJuesI68u4OTLiBFdcbYEdFCoEOfaS35inz1",
      "description": "SHA-512-crypt hash",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "other",
      "url": "https://www.openwall.com/yescrypt/"
    },
    {
      "type": "doc",
      "url": "https://man.archlinux.org/man/crypt.5"
    }
  ],
  "quality": {
    "score": 68,
    "missing": [
      "second example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/yescrypt_hash.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/yescrypt_hash.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/yescrypt_hash.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/yescrypt_hash",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/yescrypt_hash.json"
  }
}