{
  "slug": "sha1-hash",
  "name": "gizza-ai/sha1-hash",
  "version": "0.1.0",
  "title": "SHA-1 Hash Generator — gizza.ai",
  "description": "Generate a SHA-1 hash of any text in your browser — hex or base64 output, uppercase option, hex/base64 input decoding. Free, private, nothing uploaded.",
  "tags": [
    "sha1",
    "sha-1",
    "hash",
    "checksum",
    "digest",
    "hex",
    "base64",
    "cryptography"
  ],
  "category": "security",
  "urls": {
    "page": "https://gizza.ai/tools/sha1-hash/",
    "markdown": "https://gizza.ai/tools/sha1-hash/index.md",
    "descriptor": "https://gizza.ai/tools/sha1-hash/tool.json",
    "deep_link_example": "https://gizza.ai/tools/sha1-hash/?text=Hello%2C%20world%21&input_encoding=text&output_format=hex&uppercase=true"
  },
  "cli": "gizza tool sha1-hash \"Hello, world!\"",
  "tool": {
    "description": "Compute the SHA-1 cryptographic hash of text. By default the input is hashed as UTF-8 text and the 160-bit digest is returned as 40 lowercase hex chars. Set input_encoding='hex' or 'base64' to decode the input to raw bytes before hashing. Set output_format='base64' for a base64 digest, or uppercase=true for uppercase hex. NOTE: SHA-1 is cryptographically broken; use sha256-hash for security. To hash a whole FILE, use the file-hash tool.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "input_encoding": {
          "default": "text",
          "description": "How to interpret `text` before hashing.",
          "enum": [
            "text",
            "hex",
            "base64"
          ],
          "type": "string"
        },
        "output_format": {
          "default": "hex",
          "description": "Digest representation: hex (default) or base64.",
          "enum": [
            "hex",
            "base64"
          ],
          "type": "string"
        },
        "text": {
          "description": "The text to hash with SHA-1.",
          "type": "string"
        },
        "uppercase": {
          "default": false,
          "description": "Emit uppercase hex (no effect on base64). Default false.",
          "type": "boolean"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    }
  }
}