Encrypt / Decrypt Text

AES-GCM encrypt and decrypt text with a password

API executable

Overview

ID: encrypt-decrypt-text

Category: crypto

Call this tool over HTTP with POST /execute/encrypt-decrypt-text. Path, headers, body fields, sample responses, and errors are documented below.

Endpoint

POST
/api/v1/execute/encrypt-decrypt-text

Authenticate with X-API-Key or Authorization: Bearer. See Authentication.

API reference

Path, header, and body fields accepted by this execute call.

NameInTypeRequiredDescription
tool
path
stringYes

Tool identifier used in the execute path.

Example: encrypt-decrypt-text

X-API-Key
header
stringYes

Your IT-ToolBox API key. Authorization: Bearer is also accepted.

Example: YOUR_API_KEY

Content-Type
header
stringYes

Must be application/json for execute requests.

Example: application/json

input.action
body
stringYes

Argument for Encrypt / Decrypt Text.

Example: encrypt

input.password
body
stringYes

Argument for Encrypt / Decrypt Text.

Example: key

input.text
body
stringYes

Argument for Encrypt / Decrypt Text.

Example: hello

Code examples

shell
curl -X POST /api/v1/execute/encrypt-decrypt-text \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "action": "encrypt",
    "password": "key",
    "text": "hello"
  }
}'

Tool UI

Open the interactive experience to try the tool without writing HTTP clients.

Open tool UI

Back to tools catalog