Comparing version 3.0.0-beta to 3.0.1-beta
@@ -11,4 +11,3 @@ 'use strict' | ||
assert(password, 'A password is required for encryption or decryption.') | ||
this.password = password | ||
this._key = hash(decodeUTF8(this.password)).slice(0, secretbox.keyLength) | ||
this._key = hash(decodeUTF8(password)).slice(0, secretbox.keyLength) | ||
} | ||
@@ -15,0 +14,0 @@ |
{ | ||
"name": "comdb", | ||
"version": "3.0.0-beta", | ||
"version": "3.0.1-beta", | ||
"description": "A PouchDB plugin that transparently encrypts and decrypts its data.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27711
475