Socket
Socket
Sign inDemoInstall

webcrypto-core

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webcrypto-core - npm Package Compare versions

Comparing version 0.1.26 to 0.1.27

2

package.json
{
"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

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