New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cryptoeconomicslab/hash

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cryptoeconomicslab/hash - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

5

lib/Keccak256.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const primitives_1 = require("@cryptoeconomicslab/primitives");
const ethers_1 = require("ethers");
const keccak256_1 = require("ethers/utils/keccak256");
const bytes_1 = require("ethers/utils/bytes");
exports.Keccak256 = {
hash: (preimage) => {
return primitives_1.Bytes.fromHexString(ethers_1.utils.keccak256(ethers_1.utils.arrayify(preimage.data)));
return primitives_1.Bytes.fromHexString(keccak256_1.keccak256(bytes_1.arrayify(preimage.data)));
}
};
//# sourceMappingURL=Keccak256.js.map

6

package.json
{
"name": "@cryptoeconomicslab/hash",
"version": "0.0.26",
"version": "0.0.27",
"description": "hash",

@@ -34,5 +34,5 @@ "author": {

},
"gitHead": "922975674aa7485552e49e0be9bf9a538fb9f891",
"gitHead": "ebf178e1728febb981163a17be3e0aa13b0268ad",
"devDependencies": {
"@cryptoeconomicslab/primitives": "^0.0.26"
"@cryptoeconomicslab/primitives": "^0.0.27"
},

@@ -39,0 +39,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

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