Security
Encrypt specific fields in CSV data using various encryption methods to protect sensitive information
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/field-encryptor' \
-H 'Content-Type: application/json' \
-d '{"csvData":"Enter your CSV data...\n\nExample:\nName,Email,Phone,SSN,Salary\nJohn Doe,[email protected],555-0123,123-45-6789,50000\nJane Smith,[email protected],555-0456,987-65-4321,60000\nBob Wilson,[email protected],555-0789,456-78-9012,45000","encryptionMethod":"base64","selectedFields":"Comma-separated field names (e.g., Email,Phone,SSN). Leave empty to encrypt all fields.","encryptionKey":"Enter encryption key (required for AES encryption)","caesarShift":"3","preserveStructure":true,"exportFormat":"csv","encryptedOnly":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/field-encryptor| Name | Type | Required | Description |
|---|---|---|---|
| csvData | textarea | Yes | — |
| encryptionMethod | select | Yes | — |
| selectedFields | text | No | Specify which CSV columns to encrypt. If empty, all fields will be encrypted by default. |
| encryptionKey | text | No | Only required for AES encryption method. Use a strong, secure key. |
| caesarShift | number | No | Number of positions to shift for Caesar cipher (1-25) |
| preserveStructure | checkbox | No | Keep CSV headers and maintain original data structure |
| exportFormat | select | Yes | — |
| encryptedOnly | checkbox | No | Skip detailed analysis and only output the encrypted data |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-field-encryptor": {
"name": "field-encryptor",
"description": "Encrypt specific fields in CSV data using various encryption methods to protect sensitive information",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=field-encryptor",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "field-encryptor",
"arguments": {
"csvData": "Enter your CSV data...\n\nExample:\nName,Email,Phone,SSN,Salary\nJohn Doe,[email protected],555-0123,123-45-6789,50000\nJane Smith,[email protected],555-0456,987-65-4321,60000\nBob Wilson,[email protected],555-0789,456-78-9012,45000",
"encryptionMethod": "base64",
"selectedFields": "Comma-separated field names (e.g., Email,Phone,SSN). Leave empty to encrypt all fields.",
"encryptionKey": "Enter encryption key (required for AES encryption)",
"caesarShift": "3",
"preserveStructure": true,
"exportFormat": "csv",
"encryptedOnly": false
}
}
}Questions or issues? Contact [email protected]