Socket
Socket
Sign inDemoInstall

@toruslabs/eccrypto

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toruslabs/eccrypto - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

browser.js

@@ -240,3 +240,3 @@ "use strict";

macKey = hash.slice(32);
const data = aesCbcEncrypt(iv, encryptionKey, msg);
const data = await aesCbcEncrypt(iv, encryptionKey, msg);
ciphertext = data;

@@ -243,0 +243,0 @@ const dataToMac = Buffer.concat([iv, ephemPublicKey, ciphertext]);

@@ -226,3 +226,3 @@ "use strict";

macKey = hash.slice(32);
const data = aesCbcEncrypt(iv, encryptionKey, msg);
const data = await aesCbcEncrypt(iv, encryptionKey, msg);
ciphertext = data;

@@ -229,0 +229,0 @@ const dataToMac = Buffer.concat([iv, ephemPublicKey, ciphertext]);

{
"name": "@toruslabs/eccrypto",
"version": "2.2.0",
"version": "2.2.1",
"description": "JavaScript Elliptic curve cryptography library, includes fix to browser.js so that encrypt/decrypt works",

@@ -5,0 +5,0 @@ "main": "dist/browser.js",

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