BenchmarksStack Ranking
APIsPricingDocsWhite PaperTokenBlogAboutSecurity Demo
Log InGet API Key
FHE-Powered Search

H33 Encrypted Search
Query Data That Never Decrypts

Search over encrypted data using fully homomorphic encryption. Build encrypted indexes, run keyword and similarity queries on ciphertext. Zero plaintext exposure at any point in the pipeline.

0
Plaintext Exposure
FHE
Powered Search
AND/OR
Boolean + Similarity
CKKS
Encrypted Indexes
Three Steps, Zero Decryption
From indexing to results, your data stays encrypted through the entire search pipeline. Not even the search server sees plaintext.
1 Index

Encrypt & Index Data

Documents and fields are encrypted with BFV or CKKS before indexing. The encrypted index is built server-side over ciphertext. Original data never appears in plaintext on the search infrastructure.

BFV Encryption CKKS Embeddings Encrypted Fields
2 Query

Encrypted Query on Encrypted Index

Your search query is encrypted client-side and sent to the server. FHE operations match the encrypted query against the encrypted index. The server computes on ciphertext without decrypting anything.

FHE Matching Encrypted Comparisons Zero Knowledge
3 Results

Matches Returned, Still Encrypted

Search results are returned as encrypted ciphertexts. Only the data owner can decrypt the matching records. The search server never learns what was queried or what matched.

Encrypted Results Client-Side Decrypt Full Privacy
API
Three Endpoints, Full Encrypted Search
Simple REST API for building, querying, and searching encrypted data. Works with any language or framework.
POST /api/search/index Build or update an encrypted search index
POST /api/search/encrypted Search encrypted data with encrypted queries
GET /api/search/query Run privacy-preserving queries with boolean operators
POST /api/search/index — Build Encrypted Search Index
Request
curl -X POST https://api.h33.ai/api/search/index \
  -H "Authorization: Bearer $H33_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "index_name": "patient_records",
    "documents": [
      {
        "id": "doc_001",
        "fields": {
          "name": "encrypted_bfv_ct...",
          "diagnosis": "encrypted_bfv_ct...",
          "dob": "encrypted_bfv_ct..."
        }
      }
    ],
    "schema": {
      "name": "keyword",
      "diagnosis": "keyword",
      "dob": "range"
    }
  }'
Response
{
  "index": "patient_records",
  "documents_indexed": 1,
  "fields_encrypted": 3,
  "index_size_bytes": 4096
}
POST /api/search/encrypted — Encrypted Search
Request
curl -X POST https://api.h33.ai/api/search/encrypted \
  -H "Authorization: Bearer $H33_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "index_name": "patient_records",
    "query": {
      "type": "keyword",
      "field": "diagnosis",
      "value": "encrypted_query_ct..."
    },
    "limit": 10
  }'
Response
{
  "hits": [
    {
      "id": "doc_001",
      "score": 1.0,
      "fields": {
        "name": "encrypted_ct...",
        "diagnosis": "encrypted_ct..."
      }
    }
  ],
  "total": 1,
  "search_latency_ms": 2.4,
  "decryption_required": true
}
GET /api/search/query — Boolean Query
Request
curl -X GET "https://api.h33.ai/api/search/query?index=patient_records" \
  -H "Authorization: Bearer $H33_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": {
      "bool": {
        "must": [
          {
            "keyword": {
              "field": "diagnosis",
              "value": "encrypted_ct_diabetes..."
            }
          },
          {
            "range": {
              "field": "dob",
              "gte": "encrypted_ct_1980...",
              "lte": "encrypted_ct_2000..."
            }
          }
        ]
      }
    }
  }'
Response
{
  "hits": [...],
  "total": 3,
  "search_latency_ms": 4.1,
  "boolean_ops": 2
}

Features
Complete Encrypted Search Toolkit
Six capabilities that make searching encrypted data as practical as searching plaintext, without ever exposing the underlying data.
🔍

Keyword Matching

FHE-powered exact and partial keyword matching over encrypted fields. BFV integer encoding enables precise string comparisons without decryption. Supports prefix, suffix, and substring patterns.

🧠

Similarity Search (CKKS)

Run cosine similarity and nearest-neighbor searches on encrypted vector embeddings using CKKS approximate arithmetic. Ideal for semantic search over encrypted documents and records.

🔗

Boolean Queries

Combine encrypted search predicates with AND, OR, and NOT operators. Build complex multi-field queries that execute entirely in ciphertext space. Full boolean algebra on encrypted data.

📚

Encrypted Indexes

Build and maintain search indexes over encrypted data. Inverted indexes, B-trees, and hash maps all operate in ciphertext. Index updates are encrypted and never expose document contents.

🛡

Zero Exposure

Data is encrypted before it reaches the search server and stays encrypted throughout indexing, querying, and result retrieval. Not even the infrastructure operator can access plaintext.

Regulatory Compliance

Meets the technical safeguard requirements for HIPAA, GDPR, CCPA, and SOX. Search sensitive data without creating compliance exposure. Audit-ready encrypted processing logs.


Use Cases
Search Sensitive Data Without Exposure
🏥

Healthcare

Search patient records, diagnoses, and treatment histories without exposing protected health information. HIPAA-compliant queries over encrypted EHR data. Researchers can query datasets they never see in plaintext.

Legal & E-Discovery

Run e-discovery queries across encrypted document repositories. Search privileged communications without exposing attorney-client content. Keyword and pattern matching on sealed court records.

🏦

Financial Services

Search encrypted transaction logs for fraud detection, compliance checks, and audit trails. Query encrypted account records without exposing customer financial data to search infrastructure.

🕵

Intelligence & Defense

Search classified and compartmented datasets without exposing content to search operators. Encrypted queries on encrypted intelligence databases. Need-to-know enforcement at the cryptographic level.

Traditional Search vs. H33 Encrypted Search
Traditional search requires decrypting data before indexing and querying. H33 never decrypts.
Capability Traditional Search H33 Encrypted Search
Data at rest Decrypted for indexing Always encrypted
Data during search Plaintext in memory Ciphertext throughout
Query privacy Server sees queries Queries are encrypted
Result privacy Server sees results Results are encrypted
Index exposure Reveals data structure Index is encrypted
Breach exposure Full plaintext leak Ciphertext only
Compliance risk High (plaintext processing) Minimal (no exposure)
Insider threat Operators see data Operators see ciphertext
Pricing
The More You Search, The Less Each Query Costs
All units fungible — same balance as H33-Auth, H33-Vault, H33-Key, and H33-Shield.
Search-0
5 units
Encrypted keyword search (BFV). Single index. Full audit log.
<25K: $0.30
25K–250K: $0.20
250K+: $0.125
25M+: $0.03
Get Started
Search-1
12 units
+ Boolean queries (AND/OR/NOT). Multi-field search.
<25K: $0.72
25K–250K: $0.48
250K+: $0.30
25M+: $0.072
Get Started
Search-2
20 units
+ CKKS similarity search. Multiple indexes. Semantic matching.
<25K: $1.20
25K–250K: $0.80
250K+: $0.50
25M+: $0.12
Get Started
Search-3
35 units
+ Encrypted analytics. Cross-index joins. Compliance reports.
<25K: $2.10
25K–250K: $1.40
250K+: $0.875
25M+: $0.21
Get Started

Volume Unit Pricing

Monthly Volume $/Unit Search-0 (5u) Search-1 (12u) Search-2 (20u) Search-3 (35u)
<25K units $0.060 $0.30 $0.72 $1.20 $2.10
25K–250K $0.040 $0.20 $0.48 $0.80 $1.40
250K–2.5M $0.025 $0.125 $0.30 $0.50 $0.875
2.5M–25M $0.012 $0.06 $0.144 $0.24 $0.42
25M+ $0.006 $0.03 $0.072 $0.12 $0.21

All units fungible across H33 products. Free tier includes 1,000 units. No credit card required.


FAQ
Frequently Asked Questions
Common questions about FHE-powered encrypted search, supported query types, and integration.
How does FHE search differ from searchable encryption (SE)?
Traditional SE leaks access patterns and query patterns. H33 Encrypted Search uses FHE to compute on ciphertext with zero leakage. The server never learns what was queried, what matched, or the relative ordering of results.
What FHE schemes are used?
BFV for exact keyword matching and boolean operations on integer-encoded data. CKKS for approximate similarity search on encrypted vector embeddings. The scheme is selected per-field based on the search type.
Can I search across multiple encrypted indexes?
Yes. The /api/search/query endpoint supports cross-index queries. Results from multiple indexes are merged server-side while still encrypted. Only the client can decrypt the combined results.
What is the search latency?
Keyword search (BFV): 1-5ms per query depending on index size. Similarity search (CKKS): 5-20ms for nearest-neighbor on encrypted embeddings. Boolean queries add ~1ms per additional predicate.
Does the search server ever see my plaintext data?
No. Data is encrypted client-side before indexing. Queries are encrypted client-side before submission. Results are returned encrypted. The search server operates entirely on ciphertext.
What types of queries are supported?
Exact keyword matching, prefix/suffix/substring matching, range queries, boolean (AND/OR/NOT) combinations, cosine similarity on vector embeddings, and encrypted aggregations.
How do I build an encrypted index?
Use the /api/search/index endpoint. Submit documents with pre-encrypted fields and a schema defining the search type per field (keyword, range, similarity). The server builds an encrypted inverted index over the ciphertext.
Can I update an existing encrypted index?
Yes. Submit new documents or updated documents to the same index name. The index is updated incrementally. Deleted documents can be removed by ID.
Is encrypted search compatible with existing search infrastructure?
H33 Encrypted Search is a standalone REST API. It does not replace Elasticsearch or Solr. It provides a privacy-preserving search layer for sensitive data that cannot be exposed to traditional search infrastructure.
What are the Search tiers?
Search-0 (5 units): keyword search only. Search-1 (12 units): + boolean queries. Search-2 (20 units): + CKKS similarity search. Search-3 (35 units): + encrypted analytics and cross-index joins.
TECHNICAL DEEP DIVES

Go Deeper

🔍 HOW IT WORKS
Encrypted Search: How It Works
FHE keyword matching, encrypted indexes, and similarity search on CKKS embeddings — search without decrypting.
Read Full Article →
🗄️ DATABASE
FHE Database Queries
Run SQL-like queries on encrypted data. Filter, aggregate, and join — all on ciphertext that never decrypts.
Read Full Article →
📖 FHE INTRO
What Is Homomorphic Encryption?
The technology behind encrypted search — compute on data without ever seeing it. Developer guide with examples.
Read Full Article →

Start Searching Encrypted.

Get your API key in seconds. Build encrypted search into your application on your free tier.

Start Searching Encrypted

1,000 free units/month · BFV + CKKS · Zero plaintext exposure

Verify It Yourself