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

ffjavascript

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ffjavascript - npm Package Compare versions

Comparing version 0.2.51 to 0.2.52

12

.vscode/launch.json

@@ -18,4 +18,16 @@ {

]
},
{
"type": "pwa-node",
"request": "launch",
"name": "Test Algebra",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"${workspaceFolder}/test/algebra.js"
]
}
]
}

2

package.json
{
"name": "ffjavascript",
"type": "module",
"version": "0.2.51",
"version": "0.2.52",
"description": "Finite Field Library in Javascript",

@@ -6,0 +6,0 @@ "main": "./build/main.cjs",

@@ -33,4 +33,4 @@ /*

let rem = F.sqrt_t;
let s = F.sqrt_s;
let rem = F.sqrt_t || F.t;
let s = F.sqrt_s || F.s;

@@ -67,3 +67,3 @@ let nqr = F.one;

*/
this._setRoots(15);
this._setRoots(Math.min(s, 15));
}

@@ -70,0 +70,0 @@

@@ -19,2 +19,3 @@ import assert from "assert";

bn128 = await buildBn128();
console.log(bn128.Fr.toString(bn128.Fr.w[28]));
});

@@ -21,0 +22,0 @@ after( async() => {

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