{
  "slug": "age-encrypt",
  "name": "gizza-ai/age-encrypt",
  "version": "0.1.0",
  "title": "Age encrypt — gizza.ai",
  "description": "Encrypt small text into an ASCII-armored age ciphertext with a passphrase or native X25519 recipients.",
  "tags": [
    "crypto",
    "age",
    "encryption",
    "text"
  ],
  "category": "security",
  "urls": {
    "page": "https://gizza.ai/tools/age-encrypt/",
    "markdown": "https://gizza.ai/tools/age-encrypt/index.md",
    "descriptor": "https://gizza.ai/tools/age-encrypt/tool.json",
    "deep_link_example": "https://gizza.ai/tools/age-encrypt/?text=Paste%20the%20message%20to%20encrypt&mode=passphrase&passphrase=Use%20a%20strong%20passphrase&recipients=age1...%20%28one%20per%20line%2C%20comma%2C%20or%20space%20separated%29&work_factor=14"
  },
  "cli": "gizza tool age-encrypt \"Paste the message to encrypt\" 'passphrase=Use a strong passphrase'",
  "tool": {
    "description": "Encrypt plaintext into an ASCII-armored age file. mode=passphrase (default) uses a passphrase with an explicit scrypt work factor capped for the wasm sandbox; mode=recipients encrypts to one or more native age X25519 public recipients that start with age1. The output begins with -----BEGIN AGE ENCRYPTED FILE----- and can be decrypted by compatible age clients with the same passphrase or matching identity. This tool encrypts small text locally; use the age CLI for large files, SSH recipients, identity generation, or decryption.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "mode": {
          "default": "passphrase",
          "description": "passphrase encrypts with an scrypt-wrapped passphrase; recipients encrypts to one or more native age X25519 public keys.",
          "enum": [
            "passphrase",
            "recipients"
          ],
          "type": "string"
        },
        "passphrase": {
          "description": "Passphrase for mode=passphrase. Leave blank when encrypting to recipients.",
          "type": "string"
        },
        "recipients": {
          "description": "One or more age X25519 public recipients starting with age1, separated by spaces, commas, semicolons, or new lines. Used only when mode=recipients.",
          "type": "string"
        },
        "text": {
          "description": "Plaintext to encrypt into an ASCII-armored age file.",
          "type": "string"
        },
        "work_factor": {
          "default": 14,
          "description": "Scrypt log2 work factor for passphrase mode. Default 14; valid range 10-15 to stay within the wasm memory sandbox.",
          "maximum": 15,
          "minimum": 10,
          "type": "integer"
        }
      },
      "required": [
        "text",
        "passphrase"
      ],
      "type": "object"
    }
  }
}