Quantum-resistant vault encryption from day one.
As the industry transitions to post-quantum cryptography, LongThought’s end-to-end encrypted journal vault protects confidentiality with pure 256-bit symmetric cryptography—so no RSA or elliptic-curve keys protect vault confidentiality.
Zero RSA or ECC on Vault Confidentiality.
The primary quantum confidentiality threat—“harvest now, decrypt later” via Shor’s algorithm—breaks asymmetric public-key encryption (RSA, ECDH, X25519). LongThought’s Rust vault core encrypts journal data with pure 256-bit symmetric keys wrapped by your Recovery Kit and optional passphrase; P-256 ECDSA signatures are used only to authenticate enrolled devices to the sync relay.
256-Bit XChaCha20-Poly1305 + Argon2id
Even against an idealized quantum computer running Grover’s algorithm, 256-bit
XChaCha20-Poly1305 retains 128 bits of post-quantum security—256-bit
symmetric strength, the level NIST treats as quantum-resistant. Your optional passphrase
is stretched locally with memory-hard Argon2id (64 MiB, 3 passes).
Hybrid Post-Quantum TLS 1.3
Network transport between iPhone, Mac, and our edge negotiates modern TLS 1.3 with
hybrid X25519MLKEM768 key exchange when your OS and our edge negotiate it,
protecting sync connections in transit alongside our inner symmetric E2EE envelope.
This covers the client-to-edge hop and does not govern upstream hops to third-party AI providers.
Minimal Rust core. Exact dependency pins.
LongThought’s authenticated envelope format lives in a minimal, dependency-pinned Rust
workspace (longthought-core) compiled directly into iOS, macOS, and our
automated verification harness with best-effort key zeroization on drop.
| Security Layer | Algorithm / Primitive | Quantum Threat Assessment |
|---|---|---|
| Vault & Sync Envelopes | XChaCha20-Poly1305 (256-bit key, 192-bit nonce) |
Post-Quantum Resistant. Shor’s algorithm does not apply. Grover’s bound leaves 128-bit quantum security (256-bit symmetric strength). |
| Passphrase Key Derivation | Argon2id (64 MiB, 3 passes) |
Post-Quantum Resistant. Memory-hard KDF wrapping the random vault key alongside your Recovery Kit. |
| Subkey Derivation & Integrity | HKDF-SHA-256 · HMAC-SHA-256 · SHA-256 |
Post-Quantum Resistant. 256-bit symmetric PRF and digest construction. |
| Device Enrollment Auth | P-256 ECDSA |
Authenticates enrolled devices to the sync relay only; never used to encrypt or wrap vault confidentiality keys. |
| Memory Key Hygiene | Rust zeroize on drop + OS Keychain / Biometric lock |
Best-effort wiping of key buffers from RAM on vault lock, sign-out, or app background privacy shield. |
| Network Transport | TLS 1.3 + Hybrid X25519MLKEM768 (Apple / Edge) |
Post-Quantum Hybrid when your OS and our edge negotiate it; does not cover the upstream hop to AI providers. |
Honest boundaries between your vault and optional AI.
End-to-end encrypted storage protects your archive at rest and in sync. When you explicitly opt in to optional Cloud AI features (writing polish, multi-day Life Insights, cloud transcription, or hands-free “Hey Lottie”), we enforce clear boundaries:
Never silent. Always reversible.
Cloud audio and Cloud text have separate opt-in toggles that start off by default. Switching to On-Device Only immediately disables cloud text cleanup and cloud audio transcription and cancels in-flight requests.
Enforced OpenRouter ZDR flags.
LongThought’s servers never store your audio or text and never train our own models on
your entries. OpenRouter text routes are sent with data_collection: deny
and zdr: true. Google Vertex AI, Inworld AI, Cloudflare Workers AI, and
Google Cloud TTS are governed by their respective service terms, not by that flag—see
our Privacy Policy for the full
provider list.
Personal Lexicon protection on-device.
Mark any person, company, or topic as private in your Personal Lexicon. LongThought replaces those terms with opaque placeholders on your device before Cloud Cleanup, Recap, or turn-based Chat (restoring them locally on your device), and masks them one-way before Cloud Insights or Lottie text context—failing closed if masking cannot be confirmed. Spoken audio sent for optional cloud transcription or live voice (“Hey Lottie”) cannot be masked prior to transcription.
LongThought cannot read your vault or reset your vault key.
Because vault encryption keys are generated and protected strictly on your devices via your Recovery Kit and optional passphrase, no server operator or sync-storage breach can decrypt your personal history.