<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/search-encrypted-data-with-prisma-8-and-cipherstash-zxv5oz78e" -->

---
title: Search encrypted data with Prisma 8 and CipherStash
description: CipherStash announces first-class support for Prisma 8 RC1, enabling searchable field-level encryption in Prisma applications. Unlike standard encryption at...
canonical: https://daily.dev/posts/search-encrypted-data-with-prisma-8-and-cipherstash-zxv5oz78e
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Search encrypted data with Prisma 8 and CipherStash | daily.dev
og:description: CipherStash announces first-class support for Prisma 8 RC1, enabling searchable field-level encryption in Prisma applications. Unlike standard encryption at...
og:url: https://daily.dev/posts/search-encrypted-data-with-prisma-8-and-cipherstash-zxv5oz78e
og:image: https://api.daily.dev/og/posts/ZXV5OZ78E.png
og:image:alt: Search encrypted data with Prisma 8 and CipherStash
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Search encrypted data with Prisma 8 and CipherStash

**[Prisma Blog](https://daily.dev/sources/prisma-blog)** · 9 min read · 0 upvotes · 0 comments

## Summary

CipherStash announces first-class support for Prisma 8 RC1, enabling searchable field-level encryption in Prisma applications. Unlike standard encryption at rest, this approach encrypts individual fields before they reach the database while still supporting equality lookups, free-text search, range queries, and sorting on encrypted data. The integration uses a contract-first workflow where encrypted column types are declared in the Prisma schema, and queries are encrypted client-side before reaching PostgreSQL. Key management is identity-based, tying decryption to the requesting user's identity token via providers like Clerk or Auth0. Explicit decryption is required in application code, preventing plaintext from leaking into logs or API responses. The post also introduces the concept of Data Level Access Control (DLAC), where access is enforced cryptographically at the data level rather than at the application perimeter.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.prisma.io/blog/search-encrypted-data-with-prisma-next-and-cipherstash>

## Similar posts on daily.dev

- [Searchable field-level encryption on Supabase with CipherStash](https://daily.dev/posts/searchable-field-level-encryption-on-supabase-with-cipherstash-osxmbdyzi) · Supabase · 0 upvotes · 0 comments
- [Building Secure PII Encryption at Scale](https://daily.dev/posts/building-secure-pii-encryption-at-scale-inswd0air) · Halodoc · 31 upvotes · 1 comments
- [Post-Quantum Cryptography in Spring Boot: Four Patterns You Can Ship This Sprint](https://daily.dev/posts/post-quantum-cryptography-in-spring-boot-four-patterns-you-can-ship-this-sprint-cfrrb1unn) · InfoQ · 2 upvotes · 0 comments
- [Data-at-Rest Encryption in DuckDB](https://daily.dev/posts/data-at-rest-encryption-in-duckdb-ndk9tu0yl) · DuckDB · 2 upvotes · 0 comments
- [How to Encrypt PII in Data Pipelines While Keeping It Searchable](https://daily.dev/posts/how-to-encrypt-pii-in-data-pipelines-while-keeping-it-searchable-rswqvqjnc) · freeCodeCamp · 3 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#prisma](https://daily.dev/tags/prisma)

[View this post on daily.dev](https://daily.dev/posts/search-encrypted-data-with-prisma-8-and-cipherstash-zxv5oz78e)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Search encrypted data with Prisma 8 and CipherStash","url":"https://daily.dev/posts/search-encrypted-data-with-prisma-8-and-cipherstash-zxv5oz78e","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/search-encrypted-data-with-prisma-8-and-cipherstash-zxv5oz78e"},"datePublished":"2026-07-30T14:02:52.580Z","dateModified":"2026-07-30T14:45:28.588Z","description":"CipherStash announces first-class support for Prisma 8 RC1, enabling searchable field-level encryption in Prisma applications. Unlike standard encryption at...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ddf11bd9b5684b09db944d60a4401cd3?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ddf11bd9b5684b09db944d60a4401cd3?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Prisma Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Prisma Blog","logo":"https://media.daily.dev/image/upload/s--wjA5CgSL--/f_auto,q_auto/v1780213432/logos/prisma-blog?_a=BAMAMiWQ0","url":"https://daily.dev/sources/prisma-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/search-encrypted-data-with-prisma-8-and-cipherstash-zxv5oz78e","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"postgresql,prisma","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Prisma Blog","item":"https://daily.dev/sources/prisma-blog"},{"@type":"ListItem","position":3,"name":"Search encrypted data with Prisma 8 and CipherStash"}]}
```

