Encrypted Fields

Encrypts individual field values in the database, transparently in the admin panel and API

Community 84 77/wk MIT v1.0.0

Installation

pnpm add @oversightstudio/encrypted-fields

About

Encrypted Fields stores sensitive values such as names, birth dates, or ages in encrypted form, so the database holds only unreadable text for those columns. You wrap a normal field definition in the encrypted field helper and it keeps the same type and admin behaviour as before. Values are encrypted and decrypted automatically by hooks, so editors and API clients read and write plain values as usual. Encrypted fields cannot be sorted or filtered at the database level, and they take more storage space and add some processing time per read and write.

Package info

Package name
@oversightstudio/encrypted-fields
Latest version
1.0.0
Unpacked size
10 kB
License
MIT
Weekly downloads
77
Last publish
Mar 2, 2025

More from oversightstudio

View profile

Uploads and manages Mux videos in a Payload video collection

Generates blur placeholder data URLs for uploaded media in Payload collections

Similar plugins

More in Fields

Builds site and admin themes from color harmonies, with contrast checks in light and dark

Pedigree fields, relatives and family-tree views for Payload collections

Color, icon, encrypted and unit-aware measurement fields for Payload admin

Adds theme presets, live preview and contrast checks to the Payload admin

Groups Payload fields inside a drawer that opens from a button or icon

Adds a barcode scan button to text fields in the Payload admin panel