pgsodium is an encryption library extension for PostgreSQL using the libsodium library for high-level cryptographic algorithms. pgsodium can be used a straight interface to libsodium, but it can also use a powerful feature called Server Key Management where pgsodium loads an external secret key into memory that is never accessible to SQL. This inaccessible root key can then be used to derive sub-keys and keypairs by key id. This id (type bigint) can then be stored instead of the derived key.
Features
- Documentation available
- Examples available
- Transparent Column Encryption
- Automatically encrypt and decrypt one or more columns of data in a table
- pgsodium requires libsodium >= 1.0.18
- pgsodium is careful to use memory cleanup callbacks to zero out all allocated memory used when freed
- New keys are derived from the primary server secret key by id and an optional context using the libsodium Key Derivation Functions
Categories
LibrariesLicense
MIT LicenseFollow pgsodium
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of pgsodium!