webcrypto-core
Advanced tools
Comparing version 0.1.26 to 0.1.27
{ | ||
"name": "webcrypto-core", | ||
"version": "0.1.26", | ||
"version": "0.1.27", | ||
"description": "Common layer to be used by crypto libraries based on WebCrypto API for input validation.", | ||
@@ -5,0 +5,0 @@ "main": "dist/webcrypto-core.js", |
@@ -227,13 +227,4 @@ var webcrypto = require("../"); | ||
}); | ||
it("wrong alg param, counter size 15", function (done) { | ||
var alg = { name: "AES-CTR", counter: new Uint8Array(15), length: 1 }; | ||
var key = { | ||
algorithm: { name: "AES-CTR" }, | ||
type: "secret", | ||
usages: ["decrypt"] | ||
}; | ||
encrypt("decrypt", alg, key, done, true); | ||
}); | ||
it("wrong alg param, length", function (done) { | ||
var alg = { name: "AES-CTR", counter: new Uint8Array(16), length: 256 }; | ||
var alg = { name: "AES-CTR", counter: new Uint8Array(16), length: -1 }; | ||
var key = { | ||
@@ -240,0 +231,0 @@ algorithm: { name: "AES-CTR" }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
266107
19
6436