{"ok":true,"result":{"slug":"text-encryption","name":"Text Encrypt and Decrypt","summary":"Encrypt text with a password (AES-256-GCM, key from PBKDF2-HMAC-SHA256 with 600,000 iterations, random salt and IV) as one Base64 string, or decrypt such a string. Compatible with the PithLab Text Encryption tool.","description":"Encrypt and decrypt text with a password using AES-256-GCM and PBKDF2 with 600,000 iterations. Output is one Base64 string. Runs entirely in your browser.","method":"POST","endpoint":"/api/v1/tools/text-encryption","plan":"free","mcpName":"text_encryption","input":{"type":"object","additionalProperties":false,"properties":{"input":{"type":"string","description":"Plain text to encrypt, or the Base64 output of a previous encryption to decrypt.","maxLength":100000},"password":{"type":"string","description":"The password. Use a long, unique one; it is never stored.","maxLength":1000},"mode":{"type":"string","description":"encrypt or decrypt.","enum":["encrypt","decrypt"],"maxLength":200000}},"required":["input","password","mode"]},"example":{"input":"Meet at noon.","password":"correct horse battery staple","mode":"encrypt"},"randomOutput":true,"network":false,"docs":"https://pithlab.com/developers/tools/text-encryption","page":"https://pithlab.com/tools/text-encryption"}}