{"usage":"GET /api?text=...&password=...  |  GET /api?envelope=...&password=...&mode=decrypt  |  POST /api {\"mode\":\"encrypt|decrypt\",\"text|envelope\":\"...\",\"password\":\"...\",\"format\":\"base64|hex\",\"iterations\":100000}","params":{"mode":"encrypt (default when text given) | decrypt (default when only envelope given)","text":"plaintext to encrypt (max 128 KB)","envelope":"encrypt output — salt ‖ iv ‖ ciphertext+tag","password":"required, 1-1024 chars; derives the key via PBKDF2-SHA256","format":"base64 (default) | hex","iterations":"PBKDF2 iterations 10000-310000, default 100000 — must match between encrypt and decrypt"},"example":"curl \"https://aes-encryption-formatho.filesformatho.workers.dev/api?text=secret%20message&password=hunter2\""}