Socket
Socket
Sign inDemoInstall

@arcblock/mcrypto

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcblock/mcrypto - npm Package Compare versions

Comparing version 0.38.0 to 0.38.4

2

lib/hasher/keccak.js

@@ -26,3 +26,3 @@ const sha3 = require('js-sha3');

try {
input = toUint8Array(data, false, true);
input = toUint8Array(data, true);
} catch (err) {

@@ -29,0 +29,0 @@ // Do nothing

@@ -35,3 +35,3 @@ /* eslint-disable global-require */

try {
input = toUint8Array(data, false, true);
input = toUint8Array(data, true);
} catch (err) {

@@ -38,0 +38,0 @@ // Do nothing

@@ -26,3 +26,3 @@ const sha3 = require('js-sha3');

try {
input = toUint8Array(data, false, true);
input = toUint8Array(data, true);
} catch (err) {

@@ -29,0 +29,0 @@ // Do nothing

@@ -83,3 +83,3 @@ /* eslint-disable class-methods-use-this */

try {
msg = toUint8Array(message, false, true);
msg = toUint8Array(message, true);
} catch (err) {

@@ -107,3 +107,3 @@ // Do nothing;

try {
msg = toUint8Array(message, false, true);
msg = toUint8Array(message, true);
} catch (err) {

@@ -110,0 +110,0 @@ // Do nothing;

{
"name": "@arcblock/mcrypto",
"version": "0.38.0",
"version": "0.38.4",
"description": "Crypto lib that provides signer,crypter,hasher interface",

@@ -48,3 +48,3 @@ "keywords": [

"dependencies": {
"@arcblock/forge-util": "^0.38.0",
"@arcblock/forge-util": "^0.38.4",
"bn.js": "4.11.8",

@@ -59,3 +59,3 @@ "crypto-js": "^3.1.9-1",

},
"gitHead": "95052cc8a2af7e06daaebd8a57dfca3e282f8f7c"
"gitHead": "d9e6b54cbe74e3d682598f491e43f551d9e8c84d"
}
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