Encrypt / decrypt text (AES-256-GCM)
encrypt_textEncrypt plain text with a passphrase using AES-256-GCM, or decrypt a base64 payload produced by this tool. Use it to protect or recover text data in scripts and AI workflows.
Instructions
Encrypt text with a passphrase (AES-256-GCM, scrypt key derivation) or decrypt a value produced by this tool. Output is base64 of salt|iv|tag|ciphertext. (Same as IT-Tools /encryption.)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"text": "<text>",
"passphrase": "<passphrase>"
},
"name": "encrypt_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Plain text to encrypt, or base64 payload to decrypt | |
| action | Yes | ||
| passphrase | Yes |