Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crypto-pouch

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crypto-pouch - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

package-lock.json

2

index.js

@@ -12,3 +12,3 @@ 'use strict';

var transform = require('transform-pouch').transform;
var uuid = require('node-uuid');
var uuid = require('uuid');
function noop(){}

@@ -15,0 +15,0 @@ function cryptoInit(password, options) {

{
"name": "crypto-pouch",
"version": "3.1.1",
"version": "3.1.2",
"description": "encrypted pouchdb/couchdb database",

@@ -29,6 +29,6 @@ "main": "index.js",

"native-crypto": "^1.5.2",
"node-uuid": "^1.4.3",
"pouchdb-promise": "^6.1.0",
"randombytes": "^2.0.3",
"transform-pouch": "^1.1.0"
"transform-pouch": "^1.1.0",
"uuid": "^3.0.1"
},

@@ -35,0 +35,0 @@ "devDependencies": {

@@ -16,3 +16,3 @@ crypto pouch [![Build Status](https://travis-ci.org/calvinmetcalf/crypto-pouch.svg)](https://travis-ci.org/calvinmetcalf/crypto-pouch)

It encrypts with the AES-GCM using [native crypto]() which prefers the native version in node or or the web crypto version in the browser, falling back to the version from [crypto browserify](https://github.com/crypto-browserify/crypto-browserify) if no native version exists. [Chacha20-Poly1305](https://github.com/calvinmetcalf/chacha20poly1305) is also available and previous versions defaulted to this algorithm. You might consider using this if your app will primarily be used in browsers that don't support the web crypto api (e.g. safari).
It encrypts with the AES-GCM using [native crypto]() which prefers the native version in node or the web crypto version in the browser, falling back to the version from [crypto browserify](https://github.com/crypto-browserify/crypto-browserify) if no native version exists. [Chacha20-Poly1305](https://github.com/calvinmetcalf/chacha20poly1305) is also available and previous versions defaulted to this algorithm. You might consider using this if your app will primarily be used in browsers that don't support the web crypto api (e.g. safari).

@@ -19,0 +19,0 @@ **Note**: Attachments cannot be encrypted at this point. Use `{ignore: '_attachments'}` to leave attachments unencrypted. Also note that `db.putAttachment` / `db.getAttachment` are not supported. Use `db.put` and `db.get({binary: true, attachment: true})` instead. ([#18](https://github.com/calvinmetcalf/crypto-pouch/issues/13)).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc