Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@toruslabs/openlogin-utils

Package Overview
Dependencies
Maintainers
4
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toruslabs/openlogin-utils - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

4

dist/openlogin-utils.cjs.js

@@ -314,6 +314,6 @@ module.exports =

function subkey(keyHex, input) {
var privKeyBuf = Buffer.from(new external_bn_js_default.a(keyHex, "hex").toString(16, 64), "hex"); // TODO: check against existing usage of mimc
var privKeyBuf = new external_bn_js_default.a(keyHex, "hex").toString(10); // TODO: check against existing usage of mimc
// TODO: check that MPC is possible with mimc, with tests
var inputPath = Buffer.from(new external_bn_js_default.a(input).umod(new external_bn_js_default.a(SECP256K1_CURVE_N, "hex")).toString(16, 64), "hex");
var inputPath = new external_bn_js_default.a(input).umod(new external_bn_js_default.a(SECP256K1_CURVE_N, "hex")).toString(10);
var output = mimcHash(1, privKeyBuf, inputPath);

@@ -320,0 +320,0 @@ return output.xL.toString(16);

{
"name": "@toruslabs/openlogin-utils",
"version": "0.0.14",
"version": "0.0.15",
"homepage": "https://github.com/torusresearch/OpenLoginSdk#readme",

@@ -60,3 +60,3 @@ "license": "ISC",

},
"gitHead": "052cdba40f9b8df49339d8d7730126d38b81ed7e"
"gitHead": "0532c7f3cb076d33990e8bccdadee0a8ae4e48d3"
}

Sorry, the diff of this file is too big to display

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