Base64

Decode and encode base64, with gzip when you need it. Everything stays on your device.