How do I encrypt data before sending it to the database?

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • pgsodium

    Modern cryptography for PostgreSQL using libsodium.

  • libsodium.js

    libsodium compiled to Webassembly and pure JavaScript, with convenient wrappers.

  • If you want to encrypt the data on the client, so that no one, not even the server is able to decrypt it, then you could use a javascript client side encryption library like https://github.com/jedisct1/libsodium.js/. In this case the server would see opaque random looking bytea data from the client. Note this means the database can't search within that data, it can only serve the encrypted data back to the client for local decryption.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts