Compact Encrypted Text
Opaque Base64 representation of the same encryption result.
Encrypt and decrypt text with a secret key
Use /secret for a strong key.
Opaque Base64 representation of the same encryption result.
Structured metadata and ciphertext from the same operation.
Both cards are one encryption. Base64 is encoding, not encryption. The secret is never included.
Decrypted Text
Enter text and a secret, choose Encrypt or Decrypt, then run. Stays in your browser. Ctrl+Enter to run.
GET and POST. UI stays in the browser. Default v=2; v=1 is legacy. Returns data.compact and data.json. PBKDF2 iterations default 310,000 (max 310,000). GET query strings can be logged or cached — prefer POST for secrets.
GET, POST /api/encryption
Params: str, key, mode, v?, iter?
Example
GET /api/encryption?str=hello&key=your-secret&mode=encrypt
POST /api/encryption
Content-Type: application/json
{"str":"hello","key":"your-secret","mode":"encrypt"}