CYBERCRYPT D1 Sequelize
The integration works by encrypting and decrypting data transparently, using CYBERCRYPT D1 Generic when querying or storing in the database. Selected parts of the data is encrypted from the application to the database in such a way that the database itself never receives the data in plain text.
This protects the data in the database from being read by third parties and tampering.
Supported databases
All databases support by Sequelize is also supported by CYBERCRYPT D1 Sequelize.
At the of writing, Sequelize supported:
- PostgresSQL
- MySQL
- MariaDB
- SQLite
- Microsoft SQL Server
Installation
The latest version of CYBERCRYPT D1 Sequelize can be installed through npm.org, using the following command:
npm install @cybercryptio/d1-sequelize
Usage
To get started, see the Getting started guide, and for a more in-depth explanation and usage, see the User Manual.
Limitiations
- Encrypted data cannot be searched.
- Only
STRING
andBLOB
properties can be encrypted.