Prisma Field Encryption

JSON →
library 1.6.0 ·javascript
verified Jun 7, 2026

Transparent field-level encryption at rest for Prisma using AES-256-GCM. v1.6.0 requires @prisma/client >= 4.7. Encrypts specified fields automatically via Prisma middleware. Configuration is per-field with a master key. Different from alternatives like prisma-encryption-middleware by supporting key rotation, detecting encrypted fields via schema comments, and being actively maintained. Ships TypeScript types.