Scroll โ every layer is encryption-first, not a plugin bolted on later.
๐
Fail-Closed by Default (since 1.2.0)
Daemons require authKey. The console requires a token. Weak secrets and accidental plaintext fields are rejected. Public bind is opt-in.
๐งฑ
Universal Foundations
Cross-domain primitives โ eventLog, counter, queue, lifecycle, pagination, health, snapshot โ one API for apps, chat, games, AI, and jobs.
๐ง
AI-Native Intelligence Layer
HNSW vector search, semantic cache, RAG context optimizer, NL query compiler, and LLM tool-calling โ storage and AI in one engine.
๐ก๏ธ
Server-Blind Architecture
Encryption is the foundation โ not a feature flag. The engine stores ciphertext, trapdoors, and ORE tokens. Limits and leakage are documented in the trust model.
๐
Searchable Blind Indexing
Exact matching ($eq, $in), partial text ($regex), and bucketed range queries ($gt, $lt) with honey padding โ SSE still leaks patterns; design accordingly.
๐
AAD Field Binding (Anti-Swap)
Each ciphertext is cryptographically bound to its record ID and field name, preventing ciphertext swapping attacks between documents.
๐งฎ
Homomorphic Arithmetic
Compute sums and aggregations ($sum, $inc) directly over encrypted numerical fields without server-side decryption.
๐พ
Balanced Durability Engine
Configurable strict / balanced / throughput modes. Default balanced batches fsync (64 ops / 25 ms) with full sync on close. Atomic SSTable writes.
๐
Structured Logging
JSON structured logger with level filtering, sensitive key redaction, and integration with ELK, Datadog, Grafana Loki, and CloudWatch.
๐ฒ
Tamper-Evident Merkle Roots
Cryptographic verification proofs to detect unauthorized modifications or disk injections within the Merkle threat model.
authKey, console tokens, and strong secrets are mandatory since 1.2.0. Key wrap (FLASHTAKE1) in 1.3.0 โ security still on you. No external audit yet.
One client. One key. Private RAG, agent memory, and a sealed vault โ without giving the engine your plaintext. Read the trust model before regulated production.
FLASH is the first line of privacy protection while AI is being built โ RAG, agent memory, sealed documents โ anywhere. By default flash-zk is strong. The developer can weaken it. Strength holds when the developer keeps the key and leaves protection on.
1.3.1 documents this. There is no extra code โ same engine as 1.3.0. What's new