Catalog/data-transform-xor

Data Transform

Repeating-key XOR API

Apply repeating-key XOR to UTF-8, hex, or Base64 input and return hex, Base64, or UTF-8 output.

Price$0.01per request
MethodPOST
Route/v1/data-transform/xor
StatusLive
MIME typeapplication/json
Rate limit180/minute
CacheNo cache
data-transformxorcryptographycrypto
API URLhttps://x402.hexl.dev/v1/data-transform/xor
Integration docs
Example request
{
  "input": "hello",
  "key": "k"
}
Example response
{
  "output": "030e070704",
  "provider": "local-xor"
}
Input schema
{
  "type": "object",
  "required": [
    "input",
    "key"
  ],
  "properties": {
    "input": {
      "type": "string"
    },
    "key": {
      "type": "string",
      "minLength": 1
    },
    "inputEncoding": {
      "type": "string",
      "enum": [
        "utf8",
        "hex",
        "base64"
      ],
      "default": "utf8"
    },
    "outputEncoding": {
      "type": "string",
      "enum": [
        "hex",
        "base64",
        "utf8"
      ],
      "default": "hex"
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}