{
  "id": "bcrypt",
  "name": "bcrypt",
  "family_id": "bcrypt",
  "description": "bcrypt password hashing (Eksblowfish, 4 KB S-box, tunable cost). Attack records cover energy-efficient low-cost parallel hardware cracking and the Openwall sign-extension and 72-byte truncation implementation flaws.",
  "status": "intact",
  "parameters": {
    "sbox_bytes": 4096,
    "password_limit_bytes": 72,
    "algorithm": "eksblowfish"
  },
  "references": [
    {
      "title": "A Future-Adaptable Password Scheme",
      "url": "https://www.usenix.org/conference/usenix-1999-annual-technical-conference/future-adaptable-password-scheme",
      "authors": [
        "Niels Provos",
        "David Mazières"
      ]
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "bcrypt-malvoni-2014-low-cost-hardware",
      "target_id": "bcrypt",
      "title": "Energy-efficient bcrypt cracking with low-cost parallel hardware",
      "goal": "memory-hard-bound",
      "attack_family": "memory-hard-hardware-cracking",
      "setting": "The 4 KB Eksblowfish S-box fits in on-chip SRAM/BRAM of low-power parallel hardware, giving an energy-efficiency speedup of 35x or more over a CPU.",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2014-08-18",
      "authors": [
        "Ivan Malvoni",
        "Solar Designer",
        "Dalibor Knezović"
      ],
      "references": [
        {
          "title": "Are Your Passwords Safe: Energy-Efficient Bcrypt Cracking with Low-Cost Parallel Hardware",
          "url": "https://www.usenix.org/conference/woot14/workshop-program/presentation/malvoni",
          "authors": [
            "Ivan Malvoni",
            "Solar Designer",
            "Dalibor Knezović"
          ]
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 0,
        "estimator_version": "n/a: energy-efficiency speedup (35x or more vs CPU); no concrete gate count reported"
      },
      "notes": "gate_count_log2: 0 is the existing placeholder for a result with no concrete bit cost. USENIX WOOT 2014."
    },
    {
      "id": "bcrypt-openwall-2011-sign-extension-truncation",
      "target_id": "bcrypt",
      "title": "Openwall a$ sign-extension bug (CVE-2011-2483) and 72-byte truncation implementation flaws",
      "goal": "password-collision",
      "attack_family": "implementation-flaw",
      "setting": "Implementation flaws: the a$ sign-extension bug (CVE-2011-2483, 2011) makes distinct high-bit passwords collide; the 72-byte truncation and 255-byte wraparound flaws are fixed in the b$ scheme (2014).",
      "claim_kind": "record",
      "track": "side_channel",
      "date": "2011-08-01",
      "authors": [
        "Openwall project"
      ],
      "references": [
        {
          "title": "CVE-2011-2483",
          "url": "https://www.cve.org/CVERecord?id=CVE-2011-2483",
          "authors": [
            "Openwall project"
          ]
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "self_reported",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 0,
        "estimator_version": "n/a: implementation flaw; no concrete gate count reported"
      },
      "notes": "gate_count_log2: 0 is the existing placeholder for an implementation result with no concrete bit cost. Date approximates the 2011 disclosure month; the b$ fix date is 2014."
    }
  ],
  "frontiers": [],
  "dead_ends": []
}
