{
  "slug": "argon2-hash",
  "name": "gizza-ai/argon2-hash",
  "version": "0.1.0",
  "title": "Argon2 Hash — Argon2id password hashing & verify — gizza.ai",
  "description": "Hash a password with Argon2id (configurable memory, iterations, parallelism) and get a PHC string, or verify a password — in your browser. Nothing is uploaded.",
  "tags": [
    "argon2",
    "argon2id",
    "password hash",
    "phc",
    "password hashing",
    "verify password"
  ],
  "category": "security",
  "urls": {
    "page": "https://gizza.ai/tools/argon2-hash/",
    "markdown": "https://gizza.ai/tools/argon2-hash/index.md",
    "descriptor": "https://gizza.ai/tools/argon2-hash/tool.json",
    "deep_link_example": "https://gizza.ai/tools/argon2-hash/?password=The%20password%20to%20hash%20or%20verify&mode=hash&hash=%24argon2id%24v%3D19%24m%3D19456%2Ct%3D2%2Cp%3D1%24%E2%80%A6&memory_kib=19456&iterations=2&parallelism=1"
  },
  "cli": "gizza tool argon2-hash \"The password to hash or verify\"",
  "tool": {
    "description": "Hash a password with Argon2id (the modern, memory-hard password hash) returning a standard PHC string, or verify a password against one. mode=hash (default) uses configurable memory_kib (default 19456 = 19 MiB), iterations (default 2) and parallelism (default 1) and a fresh random salt; mode=verify checks the password against the provided `hash` PHC string. Runs locally — the password never leaves the device.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "hash": {
          "description": "The PHC hash string to verify against (verify mode only).",
          "type": "string"
        },
        "iterations": {
          "description": "Iteration (time) cost (hash mode; default 2).",
          "maximum": 50,
          "minimum": 1,
          "type": "integer"
        },
        "memory_kib": {
          "description": "Memory cost in KiB (hash mode; default 19456 = 19 MiB, per OWASP).",
          "maximum": 1048576,
          "minimum": 8,
          "type": "integer"
        },
        "mode": {
          "default": "hash",
          "description": "hash (default) produces a PHC hash string; verify checks the password against the `hash` PHC string.",
          "enum": [
            "hash",
            "verify"
          ],
          "type": "string"
        },
        "parallelism": {
          "description": "Parallelism / lanes (hash mode; default 1).",
          "maximum": 16,
          "minimum": 1,
          "type": "integer"
        },
        "password": {
          "description": "The password to hash, or to verify.",
          "type": "string"
        }
      },
      "required": [
        "password"
      ],
      "type": "object"
    }
  }
}