Encrypting PostgreSQL Columns in Scala with skunk-crypt

This page summarizes the projects mentioned and recommended in the original post on dev.to

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
sponsored
  1. skunk-crypt

    Transparent AES-GCM column encryption for PostgreSQL, as drop-in Skunk codecs

    skunk-crypt takes a smaller, sharper angle: encryption is just another Skunk codec. You keep writing ordinary Skunk queries; you just swap text for crypt.text. Plain values in your application, AES-256-GCM ciphertext in the database, and the key never leaves your process.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. skunk

    A data access library for Scala + Postgres.

    skunk-crypt takes a smaller, sharper angle: encryption is just another Skunk codec. You keep writing ordinary Skunk queries; you just swap text for crypt.text. Plain values in your application, AES-256-GCM ciphertext in the database, and the key never leaves your process.

  4. testcontainers-node

    Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.

    Codec round-trips are pure, so you can unit-test encrypt-then-decrypt without a database at all. For the real thing — values actually flowing through Postgres — skunk-crypt's own suite uses Testcontainers to spin up a throwaway postgres:16, which is a good pattern to copy:

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

  • How to be Test Driven with Spark: Chapter 6: Improve the setup using devcontainer

    5 projects | dev.to | 17 Apr 2026
  • A Test Automation Strategy That Actually Works

    2 projects | dev.to | 9 Mar 2026
  • Azure Cosmos DB vNext Emulator: Query and Observability Enhancements

    2 projects | dev.to | 13 Dec 2025
  • Wolverine, Azure Service Bus, and Integration Tests

    1 project | dev.to | 14 Sep 2025
  • I Turned My 2-Year-Old GitHub PR into This Blog Post (Using My Own Tool)

    1 project | dev.to | 1 Sep 2025