Home / Companies / Turso / Blog / Post Details
Content Deep Dive

Encrypting SQLite Databases with Turso: Local, Cloud, and BYOK

Blog post from Turso

Post Details
Company
Date Published
Author
Jeff Olson
Word Count
2,481
Company Posts That Month
6
Language
English
Hacker News Points
-
Post removed?
No
Summary

Turso provides two SQLite encryption approaches: experimental native encryption in its open-source Rust-based local and edge database engine, and production-ready Bring Your Own Key (BYOK) encryption for Turso Cloud plans at the Pro tier and above. Local encryption uses hex-encoded keys, encrypts database and WAL pages transparently with AEGIS or AES-GCM ciphers, and reports mixed-workload overhead of roughly 0.5% to 2.8%, although write costs can reach about 14%; its experimental status reflects the absence of a formal third-party security audit. Cloud BYOK uses base64-encoded keys supplied on every connection, with keys held only in memory during processing rather than stored by Turso, adding customer-controlled encryption above the platform’s existing volume encryption. Supported cloud ciphers include AEGIS, AES-GCM, and Cloud-only ChaCha20-Poly1305, while AES-GCM is positioned for NIST-oriented compliance requirements and AEGIS for performance. The model can support per-customer encrypted databases with distinct keys for stronger tenant isolation, but native key rotation and in-place encryption of existing databases are not yet available, requiring export-and-import workflows instead.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 3 2,042 500 137 -11%
Serverless 3 1,220 277 100 +43%
AI Agents 1 5,565 1,404 270 -7%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.