← Demos
// encrypted medical image retrieval
CKKS
128-BIT
CC MODE

Search radiology reports without exposing the patient image.

Upload a chest X-ray or describe findings in text. The query is encrypted with Fully Homomorphic Encryption (CKKS) and matched against 3,000+ encrypted radiology reports from the IU X-Ray dataset. The server never sees the query or the database in plaintext.

1 Upload X-ray or type a clinical query
2 BiomedCLIP encodes the query into a 512-dim embedding
3 Embedding is encrypted (CKKS) and searched against encrypted DB
4 Matching radiology reports are returned with similarity scores
mode
CC mode — both query and database fully encrypted under one key
Hospital A
<-->
Medical Center B
query input
Drop chest X-ray here or click to upload
SAMPLE X-RAYS
Query X-ray preview
encryption pipeline
Encrypting query...
Upload an X-ray image or enter a text query to search.
datasheet
Dataset
NameIU X-Ray (Indiana University Chest X-rays)
SourceHuggingFace ykumards/open-i
Size3,666 image-report pairs
ModalitiesFrontal chest X-ray (JPEG) + radiology findings (free text)
AnnotationsMeSH terms, clinical problems, indication, impression
Embedding Model
NameBiomedCLIP-PubMedBERT_256-vit_base_patch16_224
PublisherMicrosoft Research
ArchitecturePubMedBERT (text) + ViT-B/16 (vision)
Dimension512
SimilarityCosine (L2-normalized embeddings)
Encryption
SchemeCKKS
Security128-bit (quantum-safe lattice)
ModeCC — both query and database vectors encrypted
Librarylibevi (CryptoLab HEaaN)
Compute Environment
BackendCPU only (HEM CPU backend)
Threads8 (OMP_NUM_THREADS=8)
EmbeddingBiomedCLIP on CPU (~1s per query)
Encrypted Search~300ms for 3,666 encrypted vectors