@toruslabs/eccrypto
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -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", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
47913
0