{"library":"crypto-pouch","type":"library","category":null,"description":"Crypto-Pouch is a PouchDB plugin designed to provide transparent, field-level encryption for document data stored in PouchDB and CouchDB databases. It currently operates at version 4.0.2 and integrates seamlessly with existing PouchDB instances. The plugin leverages the TweetNaCl.js library, an independently audited cryptographic library, utilizing the xsalsa20-poly1305 algorithm for robust authenticated encryption. Once initialized with a password, it transparently encrypts document contents on write operations and decrypts them on read operations, transforming the original document into a 'payload' property containing the ciphertext. A key differentiation is its explicit focus on document *contents*, leaving `_id`s, `_rev`s, and PouchDB view keys/values unencrypted. Attachments are also not encrypted by default, requiring careful consideration for applications needing full data at rest encryption. While a formal release cadence isn't published, updates are typically released as needed for maintenance or feature enhancements.","language":"javascript","status":"active","version":"4.0.2","tags":["javascript","pouchdb","couchdb","encrypted"],"last_verified":"Wed May 27","install":[{"cmd":"npm install crypto-pouch","imports":["const PouchDB = require('pouchdb')","PouchDB.plugin(require('crypto-pouch'))","import 'crypto-pouch'"]},{"cmd":"yarn add crypto-pouch","imports":[]},{"cmd":"pnpm add crypto-pouch","imports":[]}],"homepage":null,"github":"https://github.com/calvinmetcalf/crypto-pouch","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/crypto-pouch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/crypto-pouch/compatibility"}}