Strapi Encryptable Field

screenshot of Strapi Encryptable Field
react
strapi

Encrypts values on save, and decrypts on fetch.

Overview:

Strapi's Encryptable Field Plugin is a plugin that allows users to encrypt and decrypt data in Strapi. It is important to note that this plugin should not be used to store user passwords, as hashing should be used for that purpose. The plugin supports the aes-256-cbc encryption method and is only compatible with Strapi version 4.

Features:

  • Encrypts data on create and update
  • Decrypts data on fetch one and many
  • Role-based decryption for selected roles
  • Basic settings for validation regex and input hint
  • Advanced settings for selectively showing decrypted values for roles

Summary:

Strapi's Encryptable Field Plugin is a useful plugin for encrypting and decrypting data in Strapi. It provides features such as role-based decryption, basic and advanced settings for customization, and easy installation and configuration. It is important to follow best practices and consult the rules around PII data when using this plugin in production.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

strapi
Strapi

Strapi is an open source headless CMS that provides a customizable content management system and API for your projects. It allows you to manage content in a visual interface and use a REST or GraphQL API to retrieve the data.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.