Security
Encrypt specific fields in Excel files using various encryption methods to protect sensitive information
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/excel-field-encryptor' \
-F 'file=@/path/to/excelFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/excel-field-encryptor' \
-F 'excelFile=/path/to/file.ext' \
-F 'encryptionMethod=base64' \
-F 'selectedFields=Comma-separated field names (e.g., Email,Phone,SSN). Leave empty to encrypt all fields.' \
-F 'encryptionKey=Enter encryption key (required for AES encryption)' \
-F 'caesarShift=3' \
-F 'worksheetIndex=0' \
-F 'hasHeader=true' \
-F 'outputFormat=excel' \
-F '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/excel-field-encryptor| Name | Type | Required | Description |
|---|---|---|---|
| excelFile | fileupload required | Yes | — |
| encryptionMethod | select | Yes | — |
| selectedFields | text | No | Specify which Excel 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) |
| worksheetIndex | number | No | Index of worksheet to process (0 for first worksheet, 1 for second, etc.) |
| hasHeader | checkbox | No | Treat first row as column headers |
| outputFormat | select | Yes | — |
| encryptedOnly | checkbox | No | Skip detailed analysis and only output encrypted data |
File result
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}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-excel-field-encryptor": {
"name": "excel-field-encryptor",
"description": "Encrypt specific fields in Excel files using various encryption methods to protect sensitive information",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=excel-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": "excel-field-encryptor",
"arguments": {
"excelFile": "https://example.com/file.ext",
"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",
"worksheetIndex": "0",
"hasHeader": true,
"outputFormat": "excel",
"encryptedOnly": false
}
}
}Questions or issues? Contact [email protected]