Encrypt or decrypt a short message with RSA-OAEP (SHA-256) PEM keys, or generate a new RSA key pair. Returns the armoured ciphertext block, the decrypted plaintext, or the PEM public/private key pair. Note: this uses plain RSA-OAEP with SPKI/PKCS#8 PEM keys, not the OpenPGP message format. Messages are limited to the RSA block size (190 bytes for 2048-bit keys).
This page documents the HTTP endpoint POST /api/tools/pgp-encryption-tool/execute. See the MCP reference →
Call it over REST
POST https://api.findutils.com/api/tools/pgp-encryption-tool/execute · no API keys · 60 requests/min per IP
Execute — verified arguments
curl -X POST https://api.findutils.com/api/tools/pgp-encryption-tool/execute \
-H "Content-Type: application/json" \
-d '{
"mode": "generate"
}' Parameter schema for this endpoint
curl https://api.findutils.com/api/tools/pgp-encryption-tool Input schema
| Argument | Type | Required | Description |
|---|---|---|---|
| mode | string (encrypt | decrypt | generate) | yes | Operation: encrypt, decrypt, or generate. |
| text | string | no | encrypt: the plaintext message. decrypt: the "-----BEGIN ENCRYPTED MESSAGE-----" block (or raw base64). |
| public_key | string | no | encrypt: the recipient PEM public key (SPKI, "-----BEGIN PUBLIC KEY-----"). |
| private_key | string | no | decrypt: the PEM private key (PKCS#8, "-----BEGIN PRIVATE KEY-----"). |
| modulus_length | integer (2048 | 3072 | 4096) | no | generate: RSA key size in bits. Default: 2048. Default: 2048. |
Example arguments (verified)
{
"mode": "generate"
} Also an MCP tool
Claude, Cursor, and any MCP client can call this tool as
findutils:pgp_encryption_tool after one connect command.
Connect once
claude mcp add findutils --transport http https://mcp.findutils.com/ More Security tools
Base32 Encode
Encode UTF-8 text to RFC 4648 base32 (uppercase, "=" padding).
Data Sanitizer
Sanitize untrusted text and return the cleaned output, a list of changes made, and a risk level.
Dnpm Configurator
Returns the five files of a hardened Docker-based npm wrapper (the ./dnpm bash script, .dnpm/Dockerfile, docker-compose.node.yml, .dnpm/secc
Email Header Analyzer
Return a structured analysis of raw email headers: sender, recipient, subject, date, message id, the Received hop chain with per-hop delays,
Hash Comparison Tool
Hash text with SHA-1, SHA-256, SHA-384, or SHA-512 and compare the hex digest with an expected hash.
Jwt Decode
Decode a JWT header + payload.
Jwt Generator
Generate a signed JWT (HS256, HS384, or HS512 via HMAC) and return the token plus the decoded header and payload.
Jwt Security Validator
Decode a JWT and return a list of security checks (algorithm strength, expiration, not-before, issued-at, issuer, audience, subject, signatu