{
  "id": "bcrypt_hash",
  "kind": "datatype",
  "status": "draft",
  "name": "bcrypt password hash",
  "doc": "Password hash produced by bcrypt in Modular Crypt Format: $2, an optional version letter (a, b, x or y), $, a two-digit cost, $ and 53 characters of bcrypt Base64 (a 22-character salt and a 31-character hash).",
  "is_pii": false,
  "categories": [
    "secrets",
    "cryptography"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\$2[abxy]?\\$[0-9]{2}\\$[./A-Za-z0-9]{53}$",
  "examples": [
    {
      "value": "$2y$10$PvHZA2qDCPtJ6C/JxFval.y80.N4NJBCHhyTY.XkcksghdCXe3oXG",
      "description": "Hash of the word \"example\" made with htpasswd -B",
      "valid": true
    },
    {
      "value": "$1$examples$9syBlMva027I.Vd2Z0JGl1",
      "description": "MD5-crypt hash",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Bcrypt"
    },
    {
      "type": "doc",
      "url": "https://man.archlinux.org/man/crypt.5"
    }
  ],
  "detected_by": {
    "tools": [
      "semgrep"
    ]
  },
  "quality": {
    "score": 78,
    "missing": [
      "second example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/bcrypt_hash.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/bcrypt_hash.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/bcrypt_hash.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/bcrypt_hash",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/bcrypt_hash.json"
  }
}